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

Side by Side Diff: extensions/common/api/app_current_window_internal.idl

Issue 297123002: API proposal for chrome.app.window to intercept all keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to TOT Created 6 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 unified diff | Download patch
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | extensions/common/api/app_window.idl » ('j') | 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 // This is used by the app window API internally to pass through messages to 5 // This is used by the app window API internally to pass through messages to
6 // the shell window. 6 // the shell window.
7 [nodoc] namespace app.currentWindowInternal { 7 [nodoc] namespace app.currentWindowInternal {
8 8
9 // Null or undefined indicates that a value should not change. 9 // Null or undefined indicates that a value should not change.
10 dictionary Bounds { 10 dictionary Bounds {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static void hide(); 46 static void hide();
47 static void setBounds(DOMString boundsType, Bounds bounds); 47 static void setBounds(DOMString boundsType, Bounds bounds);
48 static void setSizeConstraints(DOMString boundsType, 48 static void setSizeConstraints(DOMString boundsType,
49 SizeConstraints constraints); 49 SizeConstraints constraints);
50 static void setIcon(DOMString icon_url); 50 static void setIcon(DOMString icon_url);
51 static void setBadgeIcon(DOMString icon_url); 51 static void setBadgeIcon(DOMString icon_url);
52 static void clearBadge(); 52 static void clearBadge();
53 static void setShape(Region region); 53 static void setShape(Region region);
54 static void setAlwaysOnTop(boolean always_on_top); 54 static void setAlwaysOnTop(boolean always_on_top);
55 static void setVisibleOnAllWorkspaces(boolean always_visible); 55 static void setVisibleOnAllWorkspaces(boolean always_visible);
56 static void setInterceptAllKeys(boolean want_all_keys);
56 }; 57 };
57 58
58 interface Events { 59 interface Events {
59 static void onClosed(); 60 static void onClosed();
60 static void onBoundsChanged(); 61 static void onBoundsChanged();
61 static void onFullscreened(); 62 static void onFullscreened();
62 static void onMinimized(); 63 static void onMinimized();
63 static void onMaximized(); 64 static void onMaximized();
64 static void onRestored(); 65 static void onRestored();
65 static void onAlphaEnabledChanged(); 66 static void onAlphaEnabledChanged();
66 // Only sent in tests. 67 // Only sent in tests.
67 static void onWindowShownForTests(); 68 static void onWindowShownForTests();
68 }; 69 };
69 }; 70 };
OLDNEW
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | extensions/common/api/app_window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698