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

Side by Side Diff: ash/desktop_background/desktop_background_controller.h

Issue 2041423003: Converts ShellObserver from aura::Window to ash::WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool MoveDesktopToLockedContainer(); 90 bool MoveDesktopToLockedContainer();
91 91
92 // Move all desktop widgets to unlocked container. 92 // Move all desktop widgets to unlocked container.
93 // Returns true if the desktop moved. 93 // Returns true if the desktop moved.
94 bool MoveDesktopToUnlockedContainer(); 94 bool MoveDesktopToUnlockedContainer();
95 95
96 // WindowTreeHostManager::Observer: 96 // WindowTreeHostManager::Observer:
97 void OnDisplayConfigurationChanged() override; 97 void OnDisplayConfigurationChanged() override;
98 98
99 // ShellObserver: 99 // ShellObserver:
100 void OnRootWindowAdded(aura::Window* root_window) override; 100 void OnRootWindowAdded(WmWindow* root_window) override;
101 101
102 // Returns the maximum size of all displays combined in native 102 // Returns the maximum size of all displays combined in native
103 // resolutions. Note that this isn't the bounds of the display who 103 // resolutions. Note that this isn't the bounds of the display who
104 // has maximum resolutions. Instead, this returns the size of the 104 // has maximum resolutions. Instead, this returns the size of the
105 // maximum width of all displays, and the maximum height of all displays. 105 // maximum width of all displays, and the maximum height of all displays.
106 static gfx::Size GetMaxDisplaySizeInNative(); 106 static gfx::Size GetMaxDisplaySizeInNative();
107 107
108 // Returns true if the specified wallpaper is already stored 108 // Returns true if the specified wallpaper is already stored
109 // in |current_wallpaper_|. 109 // in |current_wallpaper_|.
110 // If |compare_layouts| is false, layout is ignored. 110 // If |compare_layouts| is false, layout is ignored.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 int wallpaper_reload_delay_; 166 int wallpaper_reload_delay_;
167 167
168 base::SequencedWorkerPool* blocking_pool_; 168 base::SequencedWorkerPool* blocking_pool_;
169 169
170 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundController); 170 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundController);
171 }; 171 };
172 172
173 } // namespace ash 173 } // namespace ash
174 174
175 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 175 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698