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

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

Issue 1971463002: Get rid of some lingering MD-specific raster assets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review Created 4 years, 7 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 8a3e1cef60749c2a329c17ea7e8ddbe661f9d6bc..feb6e04fe15e6b7a9a9207e335b024d3f3e58842 100644
--- a/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc
+++ b/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc
@@ -139,11 +139,6 @@ void ImeWarningBubbleView::InitAnchorView() {
if (anchor_to_browser_action_) {
// Anchors the bubble to the browser action of the extension.
reference_view = container_->GetViewForId(extension_->id());
- // If the view is not visible then it is in the chevron, so point the IME
- // warning bubble to the chevron instead. If this is an incognito window,
- // both could be invisible.
- if (!reference_view || !reference_view->visible())
- reference_view = container_->chevron();
}
if (!reference_view || !reference_view->visible()) {
// Anchors the bubble to the app menu.
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc ('k') | chrome/browser/ui/views/toolbar/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698