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

Unified Diff: ash/common/wallpaper/wallpaper_widget_controller.cc

Issue 2620153003: Folds WmRootWindowController into RootWindowController (Closed)
Patch Set: merge 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/wallpaper/wallpaper_widget_controller.h ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_widget_controller.cc
diff --git a/ash/common/wallpaper/wallpaper_widget_controller.cc b/ash/common/wallpaper/wallpaper_widget_controller.cc
index 637455ebd134639ed55da29dad77453b2891118b..b86bf614994b390ab847f70f4b1c4f1b5b7d94d5 100644
--- a/ash/common/wallpaper/wallpaper_widget_controller.cc
+++ b/ash/common/wallpaper/wallpaper_widget_controller.cc
@@ -7,9 +7,9 @@
#include "ash/ash_export.h"
#include "ash/common/wallpaper/wallpaper_delegate.h"
#include "ash/common/wm_lookup.h"
-#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
+#include "ash/root_window_controller.h"
#include "ui/compositor/layer_animation_observer.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
#include "ui/views/widget/widget.h"
@@ -20,7 +20,7 @@ namespace {
class ShowWallpaperAnimationObserver : public ui::ImplicitAnimationObserver,
public views::WidgetObserver {
public:
- ShowWallpaperAnimationObserver(WmRootWindowController* root_window_controller,
+ ShowWallpaperAnimationObserver(RootWindowController* root_window_controller,
views::Widget* wallpaper_widget,
bool is_initial_animation)
: root_window_controller_(root_window_controller),
@@ -51,7 +51,7 @@ class ShowWallpaperAnimationObserver : public ui::ImplicitAnimationObserver,
// Overridden from views::WidgetObserver.
void OnWidgetDestroying(views::Widget* widget) override { delete this; }
- WmRootWindowController* root_window_controller_;
+ RootWindowController* root_window_controller_;
views::Widget* wallpaper_widget_;
// Is this object observing the initial brightness/grayscale animation?
@@ -114,7 +114,7 @@ void WallpaperWidgetController::OnWindowBoundsChanged(
}
void WallpaperWidgetController::StartAnimating(
- WmRootWindowController* root_window_controller) {
+ RootWindowController* root_window_controller) {
if (widget_) {
ui::ScopedLayerAnimationSettings settings(
widget_->GetLayer()->GetAnimator());
« no previous file with comments | « ash/common/wallpaper/wallpaper_widget_controller.h ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698