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

Side by Side 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: Review comments 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_
7
8 #include "ui/views/view.h"
9
10 class Browser;
11 class BrowserActionsContainer;
12
13 // ExtensionToolbarMenuView is the view containing the extension actions that
14 // overflowed from the BrowserActionsContainer, and is contained in and owned by
15 // the wrench menu.
16 class ExtensionToolbarMenuView : public views::View {
17 public:
18 explicit ExtensionToolbarMenuView(Browser* browser);
19 virtual ~ExtensionToolbarMenuView();
20
21 // Overridden from View.
22 virtual gfx::Size GetPreferredSize() const OVERRIDE;
23 virtual void Layout() OVERRIDE;
24
25 private:
26 Browser* browser_;
27
28 BrowserActionsContainer* container_;
29
30 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarMenuView);
31 };
32
33 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698