Index: ash/content/display/screen_orientation_controller_chromeos.h |
diff --git a/ash/content/display/screen_orientation_controller_chromeos.h b/ash/content/display/screen_orientation_controller_chromeos.h |
index aa45734a24d31fad96436bc201a0d255fefbb27c..5097a0147dbaea0455463ccb22a35afa5dbfc4dd 100644 |
--- a/ash/content/display/screen_orientation_controller_chromeos.h |
+++ b/ash/content/display/screen_orientation_controller_chromeos.h |
@@ -70,7 +70,8 @@ class ASH_EXPORT ScreenOrientationController |
void SetRotationLocked(bool rotation_locked); |
// Sets the display rotation and suppresses display notifications. |
- void SetDisplayRotation(gfx::Display::Rotation rotation); |
+ void SetDisplayRotation(gfx::Display::Rotation rotation, |
+ gfx::Display::RotationSource source); |
// aura::client::ActivationChangeObserver: |
void OnWindowActivated(aura::Window* gained_active, |
@@ -102,7 +103,8 @@ class ASH_EXPORT ScreenOrientationController |
// Sets the display rotation to |rotation|. Future accelerometer updates |
// should not be used to change the rotation. SetRotationLocked(false) removes |
// the rotation lock. |
- void LockRotation(gfx::Display::Rotation rotation); |
+ void LockRotation(gfx::Display::Rotation rotation, |
+ gfx::Display::RotationSource source); |
// Sets the display rotation based on |lock_orientation|. Future accelerometer |
// updates should not be used to change the rotation. SetRotationLocked(false) |