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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_delegate_android.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_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROID_H _ 5 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROID_H _
6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROID_H _ 6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROID_H _
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/public/browser/screen_orientation_delegate.h" 11 #include "content/public/browser/screen_orientation_delegate.h"
12 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" 12 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 class WebContents; 16 class WebContents;
17 17
18 // Android implementation of ScreenOrientationDelegate. The functionality of 18 // Android implementation of ScreenOrientationDelegate. The functionality of
19 // ScreenOrientationProvider is always supported. 19 // ScreenOrientationProvider is always supported.
20 class ScreenOrientationDelegateAndroid : public ScreenOrientationDelegate { 20 class ScreenOrientationDelegateAndroid : public ScreenOrientationDelegate {
21 public: 21 public:
22 ScreenOrientationDelegateAndroid(); 22 ScreenOrientationDelegateAndroid();
(...skipping 18 matching lines...) Expand all
41 bool ScreenOrientationProviderSupported() override; 41 bool ScreenOrientationProviderSupported() override;
42 void Unlock(WebContents* web_contents) override; 42 void Unlock(WebContents* web_contents) override;
43 43
44 private: 44 private:
45 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateAndroid); 45 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateAndroid);
46 }; 46 };
47 47
48 } // namespace content 48 } // namespace content
49 49
50 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROI D_H_ 50 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_ANDROI D_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698