Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 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
| |
| 14 class ExtensionToolbarMenuView : public views::View { | |
| 15 public: | |
| 16 explicit ExtensionToolbarMenuView(Browser* browser); | |
| 17 virtual ~ExtensionToolbarMenuView(); | |
| 18 | |
| 19 // Overridden from View. | |
| 20 virtual gfx::Size GetPreferredSize() const OVERRIDE; | |
| 21 virtual void Layout() OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 Browser* browser_; | |
| 25 | |
| 26 BrowserActionsContainer* container_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarMenuView); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_EXTENSION_TOOLBAR_MENU_VIEW_H_ | |
| OLD | NEW |