| OLD | NEW |
| 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/WebScreenOrientationLockType.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // Unlocks the display, allowing hardware rotation to resume. | 34 // Unlocks the display, allowing hardware rotation to resume. |
| 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 |
| OLD | NEW |