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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/app_remoting/js/context_menu_adapter.js
diff --git a/remoting/webapp/app_remoting/js/context_menu_adapter.js b/remoting/webapp/app_remoting/js/context_menu_adapter.js
deleted file mode 100644
index a0c5b0ea6b6aa1c6981889441730168aa1eb7f14..0000000000000000000000000000000000000000
--- a/remoting/webapp/app_remoting/js/context_menu_adapter.js
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview
- * Wrapper interface for chrome.contextMenus.
- */
-
-'use strict';
-
-/** @suppress {duplicate} */
-var remoting = remoting || {};
-
-/**
- * @interface
- * @extends {base.Disposable}
- */
-remoting.ContextMenuAdapter = function() {
-};
-
-/**
- * @param {string} id An identifier for the menu entry.
- * @param {string} title The text to display in the menu.
- * @param {boolean} isCheckable True if the state of this menu entry should
- * have a check-box and manage its toggle state automatically. Note that
- * checkable menu entries always start off unchecked; use updateCheckState
- * to programmatically change the state.
- * @param {string=} opt_parentId The id of the parent menu item for submenus.
- */
-remoting.ContextMenuAdapter.prototype.create = function(
- id, title, isCheckable, opt_parentId) {
-};
-
-/**
- * @param {string} id
- * @param {string} title
- */
-remoting.ContextMenuAdapter.prototype.updateTitle = function(id, title) {
-};
-
-/**
- * @param {string} id
- * @param {boolean} checked
- */
-remoting.ContextMenuAdapter.prototype.updateCheckState = function(id, checked) {
-};
-
-/**
- * @param {string} id
- */
-remoting.ContextMenuAdapter.prototype.remove = function(id) {
-};
-
-/**
- * @param {function(OnClickData=):void} listener
- */
-remoting.ContextMenuAdapter.prototype.addListener = function(listener) {
-};

Powered by Google App Engine
This is Rietveld 408576698