diff options
author | bshe <bshe@chromium.org> | 2014-09-29 06:21:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-29 13:21:50 +0000 |
commit | c3875427bb19532a238608d7c04d34bc0fa22421 (patch) | |
tree | 0492374f15dab0a57c22e4b2afd4549837c36a07 /ash/shell_unittest.cc | |
parent | 14ddc7545c2821d8b10277565e0cab2bfff91168 (diff) | |
download | chromium_src-c3875427bb19532a238608d7c04d34bc0fa22421.zip chromium_src-c3875427bb19532a238608d7c04d34bc0fa22421.tar.gz chromium_src-c3875427bb19532a238608d7c04d34bc0fa22421.tar.bz2 |
Allow component IME extensions use app.window and add 'ime' boolean in CreateWindowOptions for app window
To create an IME window, an IME must be whitelisted, must have app.window.ime permission and must use set 'ime' and 'frame' this way:
chrome.app.window.create(url, {
'ime': true,
'frame': 'none
}, function() {})
Note only whitelisted component IME extensions can use this boolean parameter. See doc here: https://docs.google.com/a/google.com/document/d/1JQHpLu_RjN8C1Yi0i_eApS5SZtPoMDqvlq06YOwXCFU/edit
BUG=401984
Review URL: https://codereview.chromium.org/503383002
Cr-Commit-Position: refs/heads/master@{#297163}
Diffstat (limited to 'ash/shell_unittest.cc')
-rw-r--r-- | ash/shell_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc index aafb8cd..98983d9 100644 --- a/ash/shell_unittest.cc +++ b/ash/shell_unittest.cc @@ -81,8 +81,8 @@ void ExpectAllContainers() { Shell::GetContainer(root_window, kShellWindowId_SettingBubbleContainer)); EXPECT_TRUE( Shell::GetContainer(root_window, kShellWindowId_OverlayContainer)); - EXPECT_TRUE(Shell::GetContainer( - root_window, kShellWindowId_VirtualKeyboardParentContainer)); + EXPECT_TRUE(Shell::GetContainer(root_window, + kShellWindowId_ImeWindowParentContainer)); #if defined(OS_CHROMEOS) EXPECT_TRUE( Shell::GetContainer(root_window, kShellWindowId_MouseCursorContainer)); |