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

Unified Diff: chrome/browser/location_bar.h

Issue 347016: Implement page action popups. (Closed)
Patch Set: fixed failing test Created 11 years, 2 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 | « chrome/browser/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/views/browser_bubble_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/location_bar.h
diff --git a/chrome/browser/location_bar.h b/chrome/browser/location_bar.h
index 6cf544dbe46dc548d82941a10588b73b3b25ca30..71dba9c11e79842e7163fa34e451bc9c23eba1c9 100644
--- a/chrome/browser/location_bar.h
+++ b/chrome/browser/location_bar.h
@@ -17,6 +17,7 @@
#include "webkit/glue/window_open_disposition.h"
class AutocompleteEditView;
+class ExtensionAction;
class LocationBarTesting;
class TabContents;
@@ -77,6 +78,15 @@ class LocationBarTesting {
// Returns the number of visible page actions in the Omnibox.
virtual int PageActionVisibleCount() = 0;
+
+ // Returns the ExtensionAction at |index|.
+ virtual ExtensionAction* GetPageAction(size_t index) = 0;
+
+ // Returns the visible ExtensionAction at |index|.
+ virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0;
+
+ // Simulates a left mouse pressed on the visible page action at |index|.
+ virtual void TestPageActionPressed(size_t index) = 0;
};
#endif // CHROME_BROWSER_LOCATION_BAR_H_
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/views/browser_bubble_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698