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

Unified Diff: chrome/browser/ui/views/ime/ime_warning_bubble_view.cc

Issue 2374253002: Fix bookmark bubble/star view highlighting for Harmony. (Closed)
Patch Set: fix tests, move bubble creation to toolbar Created 4 years, 3 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/ime/ime_warning_bubble_view.cc
diff --git a/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc b/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc
index feb6e04fe15e6b7a9a9207e335b024d3f3e58842..5752d89933d37bfdc31eb7d6e821f6165476ab84 100644
--- a/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc
+++ b/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc
@@ -101,7 +101,7 @@ ImeWarningBubbleView::ImeWarningBubbleView(
bubble_has_shown_(false),
toolbar_actions_bar_observer_(this),
weak_ptr_factory_(this) {
- container_ = browser_view_->GetToolbarView()->browser_actions();
+ container_ = browser_view_->toolbar()->browser_actions();
toolbar_actions_bar_ = container_->toolbar_actions_bar();
BrowserList::AddObserver(this);
@@ -142,7 +142,7 @@ void ImeWarningBubbleView::InitAnchorView() {
}
if (!reference_view || !reference_view->visible()) {
// Anchors the bubble to the app menu.
- reference_view = browser_view_->GetToolbarView()->app_menu_button();
+ reference_view = browser_view_->toolbar()->app_menu_button();
}
SetAnchorView(reference_view);
set_arrow(views::BubbleBorder::TOP_RIGHT);
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/keyboard_access_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698