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

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

Issue 1816653002: Remove app_remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview
7 * Wrapper interface for chrome.contextMenus.
8 */
9
10 'use strict';
11
12 /** @suppress {duplicate} */
13 var remoting = remoting || {};
14
15 /**
16 * @interface
17 * @extends {base.Disposable}
18 */
19 remoting.ContextMenuAdapter = function() {
20 };
21
22 /**
23 * @param {string} id An identifier for the menu entry.
24 * @param {string} title The text to display in the menu.
25 * @param {boolean} isCheckable True if the state of this menu entry should
26 * have a check-box and manage its toggle state automatically. Note that
27 * checkable menu entries always start off unchecked; use updateCheckState
28 * to programmatically change the state.
29 * @param {string=} opt_parentId The id of the parent menu item for submenus.
30 */
31 remoting.ContextMenuAdapter.prototype.create = function(
32 id, title, isCheckable, opt_parentId) {
33 };
34
35 /**
36 * @param {string} id
37 * @param {string} title
38 */
39 remoting.ContextMenuAdapter.prototype.updateTitle = function(id, title) {
40 };
41
42 /**
43 * @param {string} id
44 * @param {boolean} checked
45 */
46 remoting.ContextMenuAdapter.prototype.updateCheckState = function(id, checked) {
47 };
48
49 /**
50 * @param {string} id
51 */
52 remoting.ContextMenuAdapter.prototype.remove = function(id) {
53 };
54
55 /**
56 * @param {function(OnClickData=):void} listener
57 */
58 remoting.ContextMenuAdapter.prototype.addListener = function(listener) {
59 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698