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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 9968076: Remove Inspect Popup command from browser actions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Views compile failure Created 8 years, 8 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
Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index a089c3f874b9bd0b32e3fe7129792d6c9fc5a489..e0c6c03f76851d806a51da5959aae46b9ee1fc07 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -219,8 +219,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
};
class PageActionViewGtk : public ImageLoadingTracker::Observer,
- public content::NotificationObserver,
- public ExtensionContextMenuModel::PopupDelegate {
+ public content::NotificationObserver {
public:
PageActionViewGtk(LocationBarViewGtk* owner, ExtensionAction* page_action);
virtual ~PageActionViewGtk();
@@ -253,13 +252,9 @@ class LocationBarViewGtk : public AutocompleteEditController,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // Overridden from ExtensionContextMenuModel::PopupDelegate:
- virtual void InspectPopup(ExtensionAction* action) OVERRIDE;
-
private:
- // Show the popup for this page action. If |devtools| is true, show it
- // with a debugger window attached. Returns true if a popup was shown.
- bool ShowPopup(bool devtools);
+ // Show the popup for this page action. Returns true if a popup was shown.
+ bool ShowPopup();
// Connect the accelerator for the page action popup.
void ConnectPageActionAccelerator();
« no previous file with comments | « chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698