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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge Created 4 years, 8 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/root_window_controller.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 3689d017472e8227f404c213ab25cd035422c35f..a08531e5c4be809629072ac5ad735fde9c7cbb3a 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -16,9 +16,9 @@
#include "ash/shell_observer.h"
#include "ash/snap_to_pixel_layout_manager.h"
#include "ash/system/status_area_widget.h"
+#include "ash/wm/common/workspace/workspace_types.h"
#include "ash/wm/dock/docked_window_layout_manager_observer.h"
#include "ash/wm/lock_state_observer.h"
-#include "ash/wm/workspace/workspace_types.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/logging.h"
@@ -238,11 +238,12 @@ class ASH_EXPORT ShelfLayoutManager
};
struct State {
- State() : visibility_state(SHELF_VISIBLE),
- auto_hide_state(SHELF_AUTO_HIDE_HIDDEN),
- window_state(WORKSPACE_WINDOW_STATE_DEFAULT),
- is_screen_locked(false),
- is_adding_user_screen(false) {}
+ State()
+ : visibility_state(SHELF_VISIBLE),
+ auto_hide_state(SHELF_AUTO_HIDE_HIDDEN),
+ window_state(wm::WORKSPACE_WINDOW_STATE_DEFAULT),
+ is_screen_locked(false),
+ is_adding_user_screen(false) {}
// Returns true if the two states are considered equal. As
// |auto_hide_state| only matters if |visibility_state| is
@@ -259,7 +260,7 @@ class ASH_EXPORT ShelfLayoutManager
ShelfVisibilityState visibility_state;
ShelfAutoHideState auto_hide_state;
- WorkspaceWindowState window_state;
+ wm::WorkspaceWindowState window_state;
bool is_screen_locked;
bool is_adding_user_screen;
};
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698