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

Unified Diff: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc

Issue 599663003: Don't re-focus Settings window when opening IME options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
index 561670b2de7f58e530775194858a44f82a0fcfd7..78a278cde8540499d6b64d186de6c7c482072f5f 100644
--- a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
@@ -243,10 +243,6 @@ void CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback(
ui::PAGE_TRANSITION_LINK,
false);
browser->OpenURL(params);
stevenjb 2014/09/24 16:12:53 nit: It looks to me like this will allways be an e
michaelpg 2014/09/24 21:23:06 I think so but I'm not positive.
stevenjb 2014/09/25 15:49:41 Ah, yes, you're correct, I didn't notice this was
- browser->window()->Show();
- content::WebContents* web_contents =
- browser->tab_strip_model()->GetActiveWebContents();
- web_contents->GetDelegate()->ActivateContents(web_contents);
}
void CrosLanguageOptionsHandler::AddImeProvider(base::ListValue* list) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698