class Browser;
class ExtensionInfoBarDelegate;
+class ExtensionViewViews;
namespace views {
class ImageView;
Browser* browser);
private:
- virtual ~ExtensionInfoBar();
+ ~ExtensionInfoBar() override;
// InfoBarView:
- virtual void Layout() OVERRIDE;
- virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) OVERRIDE;
- virtual int ContentMinimumWidth() const OVERRIDE;
+ void Layout() override;
+ void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) override;
+ int ContentMinimumWidth() const override;
// views::MenuButtonListener:
- virtual void OnMenuButtonClicked(views::View* source,
- const gfx::Point& point) OVERRIDE;
+ void OnMenuButtonClicked(views::View* source,
+ const gfx::Point& point) override;
void OnImageLoaded(const gfx::Image& image);
ExtensionInfoBarDelegate* GetDelegate();
const ExtensionInfoBarDelegate* GetDelegate() const;
+ ExtensionViewViews* GetExtensionView();
// Returns the width of all content other than the extension view. Layout()
// uses this to determine how much space the extension view can take.