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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h

Issue 1419603004: [Extensions Toolbar] Fix action pop out bug and views animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h b/chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..63e78adaae0e93eb20c901c7452b5874262dda91
--- /dev/null
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h
@@ -0,0 +1,23 @@
+// Copyright 2015 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 CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_OBSERVER_H_
+#define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_OBSERVER_H_
+
+class ToolbarActionsBarObserver {
+ public:
+ // Called when the toolbar actions bar is destroyed.
+ virtual void OnToolbarActionsBarDestroyed() {}
+
+ // Called when a toolbar action drag-and-drop sequence has completed.
+ virtual void OnToolbarActionDragDone() {}
+
+ // Called when the toolbar actions bar started to resize (since resizes are
+ // often animated, chances are the bar did not finish resizing).
+ virtual void OnToolbarActionsBarDidStartResize() {}
+
+ virtual ~ToolbarActionsBarObserver() {}
+};
+
+#endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_OBSERVER_H_
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar.cc ('k') | chrome/browser/ui/views/toolbar/browser_actions_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698