Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: content/browser/screen_orientation/screen_orientation.h

Issue 2564653003: [DeviceService] Move screen_orientation.mojom from //content to //device. (Closed)
Patch Set: Address nits from blundell@ Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/screen_orientation/screen_orientation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/screen_orientation/screen_orientation.h
diff --git a/content/browser/screen_orientation/screen_orientation.h b/content/browser/screen_orientation/screen_orientation.h
index e3f0feea5188084eefea37df948bb380a5404951..677a4c3cfea92374cbcc3754ac4c354ad00bcbe5 100644
--- a/content/browser/screen_orientation/screen_orientation.h
+++ b/content/browser/screen_orientation/screen_orientation.h
@@ -7,16 +7,16 @@
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
-#include "content/common/screen_orientation.mojom.h"
#include "content/public/browser/web_contents_binding_set.h"
#include "content/public/browser/web_contents_observer.h"
+#include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h"
namespace content {
class ScreenOrientationProvider;
class WebContents;
-class ScreenOrientation : public mojom::ScreenOrientation,
+class ScreenOrientation : public device::mojom::ScreenOrientation,
public WebContentsObserver {
public:
explicit ScreenOrientation(WebContents* web_contents);
@@ -34,11 +34,11 @@ class ScreenOrientation : public mojom::ScreenOrientation,
void DidNavigateMainFrame(const LoadCommittedDetails& details,
const FrameNavigateParams& params) override;
- void NotifyLockResult(blink::mojom::ScreenOrientationLockResult result);
+ void NotifyLockResult(device::mojom::ScreenOrientationLockResult result);
std::unique_ptr<ScreenOrientationProvider> provider_;
LockOrientationCallback on_result_callback_;
- WebContentsFrameBindingSet<mojom::ScreenOrientation> bindings_;
+ WebContentsFrameBindingSet<device::mojom::ScreenOrientation> bindings_;
base::WeakPtrFactory<ScreenOrientation> weak_factory_;
};
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/screen_orientation/screen_orientation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698