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

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 | chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js » ('j') | no next file with comments »
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 9d397d2beccf62dfe882a85bbe54181b79009af6..ef8a026c3a26626f638c9d19e6d7ae0494d61509 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 | chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698