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

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.h

Issue 197623002: [OriginChip] Show the page info bubble on the location bar icon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a post-merge inconsistency Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_icon_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_icon_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.h b/chrome/browser/ui/views/location_bar/location_icon_view.h
index 22c44702f27a49a177fbccdced74577cd94fa0b6..c1a19646e007f15244ffd88b40f98aa7958b1e24 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h
@@ -31,6 +31,10 @@ class LocationIconView : public views::ImageView {
PageInfoHelper* page_info_helper() { return &page_info_helper_; }
private:
+ // Handles both click and gesture events by delegating to the page info
+ // helper in the appropriate circumstances.
+ void OnClickOrTap(const ui::LocatedEvent& event);
+
PageInfoHelper page_info_helper_;
DISALLOW_IMPLICIT_CONSTRUCTORS(LocationIconView);
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698