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

Side by Side Diff: ash/wm/dock/dock_observer.h

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dock on left or right edge Created 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_DOCK_DOCK_OBSERVER_H_
6 #define UI_DOCK_DOCK_OBSERVER_H_
7
8 namespace gfx {
9 class Rect;
10 }
11
12 namespace ash {
13 namespace internal {
14
15 // Observers to the DockController are notified of significant events that
16 // occur with the dock, such as the bounds or visibility changing.
17 class DockObserver {
18 public:
19 // Called when the dock bounds or visibility are about to change.
20 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
21 };
22
23 } // namespace internal
24 } // namespace dock
25
26 #endif // UI_DOCK_DOCK_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698