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

Side by Side Diff: content/public/browser/screen_orientation_delegate.h

Issue 1151373005: Update Blink's screen orientation path in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix one include Created 5 years, 6 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class WebContents; 14 class WebContents;
15 15
16 // Can be implemented to provide platform specific functionality for 16 // Can be implemented to provide platform specific functionality for
17 // ScreenOrientationProvider. 17 // ScreenOrientationProvider.
18 class CONTENT_EXPORT ScreenOrientationDelegate { 18 class CONTENT_EXPORT ScreenOrientationDelegate {
19 public: 19 public:
20 ScreenOrientationDelegate() {}; 20 ScreenOrientationDelegate() {};
(...skipping 14 matching lines...) Expand all
35 virtual void Unlock(WebContents* web_contents) = 0; 35 virtual void Unlock(WebContents* web_contents) = 0;
36 36
37 private: 37 private:
38 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegate); 38 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegate);
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_ 43 #endif // CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DELEGATE_H_
44 44
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/screen_orientation_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698