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

Unified Diff: chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc

Issue 431173002: Create ExtensionActionView class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge conflict Created 6 years, 4 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/views/toolbar/browser_action_test_util_views.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
index f389ac2d8f48050480a5de327dc9edf655f71cb9..43bfe34129611ee6d890fbe4b6e088a0941a47a6 100644
--- a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
+++ b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
@@ -42,7 +42,7 @@ ExtensionAction* BrowserActionTestUtil::GetExtensionAction(int index) {
void BrowserActionTestUtil::InspectPopup(int index) {
GetContainer(browser_)->GetBrowserActionViewAt(index)->button()->
- InspectPopup();
+ view_controller()->InspectPopup();
}
bool BrowserActionTestUtil::HasIcon(int index) {
@@ -58,7 +58,7 @@ gfx::Image BrowserActionTestUtil::GetIcon(int index) {
void BrowserActionTestUtil::Press(int index) {
GetContainer(browser_)->GetBrowserActionViewAt(index)->
- button()->ExecuteBrowserAction();
+ button()->view_controller()->ExecuteActionByUser();
}
std::string BrowserActionTestUtil::GetExtensionId(int index) {

Powered by Google App Engine
This is Rietveld 408576698