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

Unified 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, 7 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
Index: ash/wm/dock/dock_observer.h
diff --git a/ash/wm/dock/dock_observer.h b/ash/wm/dock/dock_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..670f13a4f6b30f5e37d869108dd3229a90a8d6cb
--- /dev/null
+++ b/ash/wm/dock/dock_observer.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_DOCK_DOCK_OBSERVER_H_
+#define UI_DOCK_DOCK_OBSERVER_H_
+
+namespace gfx {
+class Rect;
+}
+
+namespace ash {
+namespace internal {
+
+// Observers to the DockController are notified of significant events that
+// occur with the dock, such as the bounds or visibility changing.
+class DockObserver {
+ public:
+ // Called when the dock bounds or visibility are about to change.
+ virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
+};
+
+} // namespace internal
+} // namespace dock
+
+#endif // UI_DOCK_DOCK_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698