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

Side by Side Diff: extensions/renderer/resources/app_window_custom_bindings.js

Issue 503383002: Allow component IME extension use app.window and add 'ime' window type for app window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « extensions/common/permissions/extensions_api_permissions.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Custom binding for the app_window API. 5 // Custom binding for the app_window API.
6 6
7 var appWindowNatives = requireNative('app_window_natives'); 7 var appWindowNatives = requireNative('app_window_natives');
8 var runtimeNatives = requireNative('runtime'); 8 var runtimeNatives = requireNative('runtime');
9 var Binding = require('binding').Binding; 9 var Binding = require('binding').Binding;
10 var Event = require('event_bindings').Event; 10 var Event = require('event_bindings').Event;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 if (value === null) 395 if (value === null)
396 constraints[key] = 0; 396 constraints[key] = 0;
397 }); 397 });
398 398
399 currentWindowInternal.setSizeConstraints(boundsType, constraints); 399 currentWindowInternal.setSizeConstraints(boundsType, constraints);
400 } 400 }
401 401
402 exports.binding = appWindow.generate(); 402 exports.binding = appWindow.generate();
403 exports.onAppWindowClosed = onAppWindowClosed; 403 exports.onAppWindowClosed = onAppWindowClosed;
404 exports.updateAppWindowProperties = updateAppWindowProperties; 404 exports.updateAppWindowProperties = updateAppWindowProperties;
405 exports.appWindowShownForTests = onAppWindowShownForTests; 405 exports.appWindowShownForTests = onAppWindowShownForTests;
OLDNEW
« no previous file with comments | « extensions/common/permissions/extensions_api_permissions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698