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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 2360103002: Removing unnecessary context menu logic (Closed)
Patch Set: fixed nits Created 4 years, 3 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: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 6d4f8b2096da92e80a1df67ea766a42f8ae2dc92..a1017bdb23d572008aa87fb3e21359fba17e028b 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -332,18 +332,6 @@ public interface WebContents extends Parcelable {
@VisibleForTesting
ObserverList.RewindableIterator<WebContentsObserver> getObserversForTesting();
- /**
- * Called when context menu gets opened.
- */
- void onContextMenuOpened();
-
- /**
- * Called when context menu gets closed. Note that closing context menu that is
- * not triggered by WebContents will still call this. However, it will have no effect
- * if onContextMenuOpened() isn't called in advance.
- */
- void onContextMenuClosed();
-
public void getContentBitmapAsync(Bitmap.Config config, float scale, Rect srcRect,
ContentBitmapCallback callback);
/**

Powered by Google App Engine
This is Rietveld 408576698