This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tizen][Temp] Fix ScreenOrientationProvider::Create multiple defined
This commit fixes ScreenOrientationProvider::Create() to be defined multiple times error. Meanwhile, add ScreenOrientationDispatcherHost::SetProvider so that tizen can use this inferface to bridge with ScreenOrientationDispatcherHost. Upstream bug https://code.google.com/p/chromium/issues/detail?id=408573 to trace this problem. Send https://codereview.chromium.org/513073002/ to solve it. CL: https://codereview.chromium.org/338373002
- Loading branch information
Showing
5 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
content/browser/screen_orientation/screen_orientation_provider.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2013 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "content/browser/screen_orientation/screen_orientation_provider.h" | ||
|
||
namespace content { | ||
|
||
#if !defined(OS_ANDROID) | ||
// static | ||
ScreenOrientationProvider* ScreenOrientationProvider::Create( | ||
ScreenOrientationDispatcherHost* dispatcher_host, | ||
WebContents* web_contents) { | ||
return NULL; | ||
} | ||
#endif // !defined(OS_ANDROID) | ||
|
||
} // namespace content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters