summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/resources
diff options
context:
space:
mode:
authorshuchen <shuchen@chromium.org>2016-02-23 02:09:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-23 10:10:15 +0000
commit70a6b07aa3b2991d11b6b7c158752d6460555359 (patch)
tree1b4f610479b01aafff5d4971917e987340773793 /extensions/renderer/resources
parent3cbfbfb9a38555d156e4034435de61722503c7c8 (diff)
downloadchromium_src-70a6b07aa3b2991d11b6b7c158752d6460555359.zip
chromium_src-70a6b07aa3b2991d11b6b7c158752d6460555359.tar.gz
chromium_src-70a6b07aa3b2991d11b6b7c158752d6460555359.tar.bz2
Returns JS 'window' object for chrome.input.ime.createWindow API.
This cl is based on cl https://codereview.chromium.org/1595313002. BUG=517773 Review URL: https://codereview.chromium.org/1649373002 Cr-Commit-Position: refs/heads/master@{#376959}
Diffstat (limited to 'extensions/renderer/resources')
-rw-r--r--extensions/renderer/resources/app_window_custom_bindings.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/renderer/resources/app_window_custom_bindings.js b/extensions/renderer/resources/app_window_custom_bindings.js
index 3800bea..b0ae54f 100644
--- a/extensions/renderer/resources/app_window_custom_bindings.js
+++ b/extensions/renderer/resources/app_window_custom_bindings.js
@@ -118,8 +118,10 @@ appWindow.registerCustomHook(function(bindingsAPI) {
var view = null;
// When window creation fails, |windowParams| will be undefined.
- if (windowParams && windowParams.frameId)
- view = appWindowNatives.GetFrame(windowParams.frameId);
+ if (windowParams && windowParams.frameId) {
+ view = appWindowNatives.GetFrame(
+ windowParams.frameId, true /* notifyBrowser */);
+ }
if (!view) {
// No route to created window. If given a callback, trigger it with an