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

Side by Side Diff: remoting/webapp/app_remoting/js/context_menu_adapter.js

Issue 1143453007: remoting.WindowShape clean up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's feedback Created 5 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Wrapper interface for chrome.contextMenus. 7 * Wrapper interface for chrome.contextMenus.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
11 11
12 /** @suppress {duplicate} */ 12 /** @suppress {duplicate} */
13 var remoting = remoting || {}; 13 var remoting = remoting || {};
14 14
15 /** @interface */ 15 /**
16 * @interface
17 * @extends {base.Disposable}
18 */
16 remoting.ContextMenuAdapter = function() { 19 remoting.ContextMenuAdapter = function() {
17 }; 20 };
18 21
19 /** 22 /**
20 * @param {string} id An identifier for the menu entry. 23 * @param {string} id An identifier for the menu entry.
21 * @param {string} title The text to display in the menu. 24 * @param {string} title The text to display in the menu.
22 * @param {boolean} isCheckable True if the state of this menu entry should 25 * @param {boolean} isCheckable True if the state of this menu entry should
23 * have a check-box and manage its toggle state automatically. Note that 26 * have a check-box and manage its toggle state automatically. Note that
24 * checkable menu entries always start off unchecked; use updateCheckState 27 * checkable menu entries always start off unchecked; use updateCheckState
25 * to programmatically change the state. 28 * to programmatically change the state.
(...skipping 21 matching lines...) Expand all
47 * @param {string} id 50 * @param {string} id
48 */ 51 */
49 remoting.ContextMenuAdapter.prototype.remove = function(id) { 52 remoting.ContextMenuAdapter.prototype.remove = function(id) {
50 }; 53 };
51 54
52 /** 55 /**
53 * @param {function(OnClickData=):void} listener 56 * @param {function(OnClickData=):void} listener
54 */ 57 */
55 remoting.ContextMenuAdapter.prototype.addListener = function(listener) { 58 remoting.ContextMenuAdapter.prototype.addListener = function(listener) {
56 }; 59 };
OLDNEW
« no previous file with comments | « remoting/webapp/app_remoting/js/app_connected_view.js ('k') | remoting/webapp/app_remoting/js/context_menu_chrome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698