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

Unified Diff: chrome/browser/ui/panels/panel_manager.cc

Issue 1516253002: Whitelist IME extenions for app.window with type:panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | extensions/browser/api/app_window/app_window_api.cc » ('j') | extensions/common/constants.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_manager.cc
diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc
index 1846ea65c5300d6f455697a41313f7db3e910375..61c8832dbce9fa269193c56fd7c3d995e5722580 100644
--- a/chrome/browser/ui/panels/panel_manager.cc
+++ b/chrome/browser/ui/panels/panel_manager.cc
@@ -130,6 +130,14 @@ bool PanelManager::ShouldUsePanels(const std::string& extension_id) {
return true;
}
+#if defined(OS_CHROMEOS)
+ // Without --enable-panels, only support IME extensions on Chrome OS.
+ for (const char* id : extension_misc::kIMEExtensionIds) {
+ if (extension_id == id)
+ return true;
+ }
+#endif
+
return false;
}
« no previous file with comments | « no previous file | extensions/browser/api/app_window/app_window_api.cc » ('j') | extensions/common/constants.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698