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

Side by Side Diff: ash/content/screen_orientation_delegate_chromeos.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "content/public/browser/screen_orientation_delegate.h"
6
7 #ifndef ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ 5 #ifndef ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
8 #define ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ 6 #define ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
9 7
8 #include "content/public/browser/screen_orientation_delegate.h"
9
10 #include "base/macros.h"
11
10 namespace ash { 12 namespace ash {
11 13
12 class ScreenOrientationDelegateChromeos 14 class ScreenOrientationDelegateChromeos
13 : public content::ScreenOrientationDelegate { 15 : public content::ScreenOrientationDelegate {
14 public: 16 public:
15 ScreenOrientationDelegateChromeos(); 17 ScreenOrientationDelegateChromeos();
16 ~ScreenOrientationDelegateChromeos() override; 18 ~ScreenOrientationDelegateChromeos() override;
17 19
18 private: 20 private:
19 // content::ScreenOrientationDelegate: 21 // content::ScreenOrientationDelegate:
20 bool FullScreenRequired(content::WebContents* web_contents) override; 22 bool FullScreenRequired(content::WebContents* web_contents) override;
21 void Lock(content::WebContents* web_contents, 23 void Lock(content::WebContents* web_contents,
22 blink::WebScreenOrientationLockType lock_orientation) override; 24 blink::WebScreenOrientationLockType lock_orientation) override;
23 bool ScreenOrientationProviderSupported() override; 25 bool ScreenOrientationProviderSupported() override;
24 void Unlock(content::WebContents* web_contents) override; 26 void Unlock(content::WebContents* web_contents) override;
25 27
26 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateChromeos); 28 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateChromeos);
27 }; 29 };
28 30
29 } // namespace ash 31 } // namespace ash
30 32
31 #endif // ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ 33 #endif // ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/content/keyboard_overlay/keyboard_overlay_view.h ('k') | ash/default_accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698