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

Side by Side Diff: ash/common/wm/dock/docked_window_layout_manager.h

Issue 2122873002: Add virtualKeyboardPrivate.onKeyboardClosed API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // area change. Passing |reason| to observers allows selectively skipping 242 // area change. Passing |reason| to observers allows selectively skipping
243 // notifications. 243 // notifications.
244 void UpdateDockBounds(DockedWindowLayoutManagerObserver::Reason reason); 244 void UpdateDockBounds(DockedWindowLayoutManagerObserver::Reason reason);
245 245
246 // Called whenever the window stacking order needs to be updated (e.g. focus 246 // Called whenever the window stacking order needs to be updated (e.g. focus
247 // changes or a window is moved). 247 // changes or a window is moved).
248 void UpdateStacking(WmWindow* active_window); 248 void UpdateStacking(WmWindow* active_window);
249 249
250 // keyboard::KeyboardControllerObserver: 250 // keyboard::KeyboardControllerObserver:
251 void OnKeyboardBoundsChanging(const gfx::Rect& keyboard_bounds) override; 251 void OnKeyboardBoundsChanging(const gfx::Rect& keyboard_bounds) override;
252 void OnKeyboardClosed() override {}
252 253
253 // Parent window associated with this layout manager. 254 // Parent window associated with this layout manager.
254 WmWindow* dock_container_; 255 WmWindow* dock_container_;
255 256
256 WmRootWindowController* root_window_controller_; 257 WmRootWindowController* root_window_controller_;
257 258
258 // Protect against recursive calls to Relayout(). 259 // Protect against recursive calls to Relayout().
259 bool in_layout_; 260 bool in_layout_;
260 261
261 // A window that is being dragged (whether docked or not). 262 // A window that is being dragged (whether docked or not).
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 315
315 // Observers of dock bounds changes. 316 // Observers of dock bounds changes.
316 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_; 317 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); 319 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager);
319 }; 320 };
320 321
321 } // namespace ash 322 } // namespace ash
322 323
323 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 324 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698