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

Side by Side Diff: ash/wm/panels/panel_layout_manager.h

Issue 594383002: Change behaviour of the Alt-] and Alt-[ keys so that it cycles through SnapLeft/SnapRight to DockLe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event
Patch Set: Fix comment Created 6 years, 2 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
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_state.cc ('k') | ash/wm/wm_event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Overridden from ShelfLayoutManagerObserver 117 // Overridden from ShelfLayoutManagerObserver
118 virtual void WillChangeVisibilityState( 118 virtual void WillChangeVisibilityState(
119 ShelfVisibilityState new_state) override; 119 ShelfVisibilityState new_state) override;
120 120
121 private: 121 private:
122 friend class PanelLayoutManagerTest; 122 friend class PanelLayoutManagerTest;
123 friend class PanelWindowResizerTest; 123 friend class PanelWindowResizerTest;
124 friend class DockedWindowResizerTest; 124 friend class DockedWindowResizerTest;
125 friend class DockedWindowLayoutManagerTest; 125 friend class DockedWindowLayoutManagerTest;
126 friend class WorkspaceControllerTest; 126 friend class WorkspaceControllerTest;
127 friend class AcceleratorControllerTest;
127 128
128 views::Widget* CreateCalloutWidget(); 129 views::Widget* CreateCalloutWidget();
129 130
130 struct PanelInfo{ 131 struct PanelInfo{
131 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {} 132 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {}
132 133
133 bool operator==(const aura::Window* other_window) const { 134 bool operator==(const aura::Window* other_window) const {
134 return window == other_window; 135 return window == other_window;
135 } 136 }
136 137
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // are currently focused. 193 // are currently focused.
193 aura::Window* last_active_panel_; 194 aura::Window* last_active_panel_;
194 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 195 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
195 196
196 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 197 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
197 }; 198 };
198 199
199 } // namespace ash 200 } // namespace ash
200 201
201 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 202 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_state.cc ('k') | ash/wm/wm_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698