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

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: Created 6 years, 3 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_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // Overridden from ShellObserver 97 // Overridden from ShellObserver
98 virtual void OnShelfAlignmentChanged(aura::Window* root_window) OVERRIDE; 98 virtual void OnShelfAlignmentChanged(aura::Window* root_window) OVERRIDE;
99 99
100 // Overridden from aura::WindowObserver 100 // Overridden from aura::WindowObserver
101 virtual void OnWindowPropertyChanged(aura::Window* window, 101 virtual void OnWindowPropertyChanged(aura::Window* window,
102 const void* key, 102 const void* key,
103 intptr_t old) OVERRIDE; 103 intptr_t old) OVERRIDE;
104 104
105 // Overridden from ash::wm::WindowStateObserver 105 // Overridden from ash::wm::WindowStateObserver
106 virtual void OnPreWindowStateTypeChange(
107 wm::WindowState* window_state,
108 wm::WindowStateType old_type) OVERRIDE;
109
106 virtual void OnPostWindowStateTypeChange( 110 virtual void OnPostWindowStateTypeChange(
107 wm::WindowState* window_state, 111 wm::WindowState* window_state,
108 wm::WindowStateType old_type) OVERRIDE; 112 wm::WindowStateType old_type) OVERRIDE;
109 113
110 // Overridden from aura::client::ActivationChangeObserver 114 // Overridden from aura::client::ActivationChangeObserver
111 virtual void OnWindowActivated(aura::Window* gained_active, 115 virtual void OnWindowActivated(aura::Window* gained_active,
112 aura::Window* lost_active) OVERRIDE; 116 aura::Window* lost_active) OVERRIDE;
113 117
114 // Overridden from DisplayController::Observer 118 // Overridden from DisplayController::Observer
115 virtual void OnDisplayConfigurationChanged() OVERRIDE; 119 virtual void OnDisplayConfigurationChanged() OVERRIDE;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // are currently focused. 196 // are currently focused.
193 aura::Window* last_active_panel_; 197 aura::Window* last_active_panel_;
194 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 198 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
195 199
196 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 200 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
197 }; 201 };
198 202
199 } // namespace ash 203 } // namespace ash
200 204
201 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 205 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698