| 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..af1e9934ea32b67b2060fba0166eee1bb6d3d93e
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h
|
| @@ -0,0 +1,32 @@
|
| +// 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 extension actions that
|
| +// overflowed from the BrowserActionsContainer, and is contained in and owned by
|
| +// the wrench menu.
|
| +class ExtensionToolbarMenuView : public views::View {
|
| + public:
|
| + explicit ExtensionToolbarMenuView(Browser* browser);
|
| + virtual ~ExtensionToolbarMenuView();
|
| +
|
| + // views::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_
|
|
|