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

Unified Diff: ash/content/screen_orientation_delegate_chromeos.cc

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/display/screen_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/content/screen_orientation_delegate_chromeos.cc
diff --git a/ash/content/screen_orientation_delegate_chromeos.cc b/ash/content/screen_orientation_delegate_chromeos.cc
index 93bc8c6aca516519646cc159ae213f26e37893ac..ab9a4c29dbf1908790dc1cf48c3cb0503b5868e9 100644
--- a/ash/content/screen_orientation_delegate_chromeos.cc
+++ b/ash/content/screen_orientation_delegate_chromeos.cc
@@ -4,7 +4,7 @@
#include "ash/content/screen_orientation_delegate_chromeos.h"
-#include "ash/aura/wm_window_aura.h"
+#include "ash/common/wm_window.h"
#include "ash/display/screen_orientation_controller_chromeos.h"
#include "ash/shell.h"
#include "content/public/browser/screen_orientation_provider.h"
@@ -30,8 +30,8 @@ void ScreenOrientationDelegateChromeos::Lock(
blink::WebScreenOrientationLockType lock_orientation) {
Shell::GetInstance()
->screen_orientation_controller()
- ->LockOrientationForWindow(
- WmWindowAura::Get(web_contents->GetNativeView()), lock_orientation);
+ ->LockOrientationForWindow(WmWindow::Get(web_contents->GetNativeView()),
+ lock_orientation);
}
bool ScreenOrientationDelegateChromeos::ScreenOrientationProviderSupported() {
@@ -45,7 +45,7 @@ void ScreenOrientationDelegateChromeos::Unlock(
Shell::GetInstance()
->screen_orientation_controller()
->UnlockOrientationForWindow(
- WmWindowAura::Get(web_contents->GetNativeView()));
+ WmWindow::Get(web_contents->GetNativeView()));
}
} // namespace ash
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/display/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698