Index: chrome/browser/ui/views/location_bar/page_action_image_view.h |
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.h b/chrome/browser/ui/views/location_bar/page_action_image_view.h |
index 0d1a5e0f6923bb68144e9f8796788788c9aa6b53..5def84db51e045d62f9b91c21665c65d0edbb5d8 100644 |
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.h |
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.h |
@@ -49,10 +49,12 @@ class PageActionImageView : public views::ImageView, |
} |
// Overridden from views::View: |
+ virtual const char* GetClassName() const OVERRIDE; |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; |
+ virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
// Overridden from ExtensionContextMenuModel::Delegate |
virtual void InspectPopup() OVERRIDE; |
@@ -81,6 +83,8 @@ class PageActionImageView : public views::ImageView, |
void ExecuteAction(ExtensionPopup::ShowAction show_action); |
private: |
+ static const char kViewClassName[]; |
+ |
// Overridden from View. |
virtual void PaintChildren(gfx::Canvas* canvas, |
const views::CullSet& cull_set) OVERRIDE; |