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

Unified Diff: chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h

Issue 324393002: Extension Toolbar redesign, part 1 (overflow) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h
diff --git a/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h b/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..26003fe6bd5e1f4f5eeb9143876b341b8b6b9ac2
--- /dev/null
+++ b/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h
@@ -0,0 +1,31 @@
+// Copyright 2014 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_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_
+#define CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_
+
+#include "ui/views/view.h"
+
+class Browser;
+class BrowserActionsContainer;
+
+// ExtensionToolbarMenuView is the view containing the ToolbarAction icons.
Devlin 2014/06/23 17:55:29 This comment doesn't seem quite right. "ToolbarAc
Finnur 2014/06/25 16:18:11 SGTM
+class ExtensionToolbarMenuView : public views::View {
+ public:
+ explicit ExtensionToolbarMenuView(Browser* browser);
+ virtual ~ExtensionToolbarMenuView();
+
+ // Overridden from View.
+ virtual gfx::Size GetPreferredSize() const OVERRIDE;
+ virtual void Layout() OVERRIDE;
+
+ private:
+ Browser* browser_;
+
+ BrowserActionsContainer* container_;
+
+ DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarMenuView);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698