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

Unified Diff: chrome/browser/ui/translate/translate_bubble_factory.cc

Issue 420713003: Translate: Don't show 'Translated' bubble when the user dismisses the bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/translate/translate_bubble_factory.cc
diff --git a/chrome/browser/ui/translate/translate_bubble_factory.cc b/chrome/browser/ui/translate/translate_bubble_factory.cc
index 45114990ec1ea102a8aa58e0c6af38ec40e185b6..789f57382fdb62957b0d214763139f2ed6528b87 100644
--- a/chrome/browser/ui/translate/translate_bubble_factory.cc
+++ b/chrome/browser/ui/translate/translate_bubble_factory.cc
@@ -16,7 +16,7 @@ void ShowDefault(BrowserWindow* window,
// |window| might be null when testing.
if (!window)
return;
- window->ShowTranslateBubble(web_contents, step, error_type);
+ window->ShowTranslateBubble(web_contents, step, error_type, false);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698