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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java

Issue 908093003: Revert of Add support for ContentViewCore helpers on Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import android.view.ContextMenu; 7 import android.view.ContextMenu;
8 8
9 import org.chromium.content.browser.ContentViewCore;
10 import org.chromium.content_public.browser.WebContents; 9 import org.chromium.content_public.browser.WebContents;
11 10
12 /** 11 /**
13 * An implementation of the {@link TabObserver} which has empty implementations of all methods. 12 * An implementation of the {@link TabObserver} which has empty implementations of all methods.
14 */ 13 */
15 public class EmptyTabObserver implements TabObserver { 14 public class EmptyTabObserver implements TabObserver {
16 15
17 @Override 16 @Override
18 public void onShown(Tab tab) { } 17 public void onShown(Tab tab) { }
19 18
20 @Override 19 @Override
21 public void onHidden(Tab tab) { } 20 public void onHidden(Tab tab) { }
22 21
23 @Override 22 @Override
24 public void onClosingStateChanged(Tab tab, boolean closing) { } 23 public void onClosingStateChanged(Tab tab, boolean closing) { }
25 24
26 @Override 25 @Override
27 public void onDestroyed(Tab tab) { } 26 public void onDestroyed(Tab tab) { }
28 27
29 @Override 28 @Override
30 public void onContentChanged(Tab tab) { } 29 public void onContentChanged(Tab tab) { }
31 30
32 @Override 31 @Override
33 public void onOverlayContentViewCoreAdded(Tab tab, ContentViewCore content) { }
34
35 @Override
36 public void onOverlayContentViewCoreRemoved(Tab tab, ContentViewCore content ) { }
37
38 @Override
39 public void onLoadUrl(Tab tab, String url, int loadType) { } 32 public void onLoadUrl(Tab tab, String url, int loadType) { }
40 33
41 @Override 34 @Override
42 public void onPageLoadStarted(Tab tab) { } 35 public void onPageLoadStarted(Tab tab) { }
43 36
44 @Override 37 @Override
45 public void onPageLoadFinished(Tab tab) { } 38 public void onPageLoadFinished(Tab tab) { }
46 39
47 @Override 40 @Override
48 public void onPageLoadFailed(Tab tab, int errorCode) { } 41 public void onPageLoadFailed(Tab tab, int errorCode) { }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 @Override 111 @Override
119 public void onDidStartNavigationToPendingEntry(Tab tab, String url) { } 112 public void onDidStartNavigationToPendingEntry(Tab tab, String url) { }
120 113
121 @Override 114 @Override
122 public void onBackgroundColorChanged(Tab tab, int color) { } 115 public void onBackgroundColorChanged(Tab tab, int color) { }
123 116
124 @Override 117 @Override
125 public void webContentsCreated(Tab tab, WebContents sourceWebContents, long openerRenderFrameId, 118 public void webContentsCreated(Tab tab, WebContents sourceWebContents, long openerRenderFrameId,
126 String frameName, String targetUrl, WebContents newWebContents) { } 119 String frameName, String targetUrl, WebContents newWebContents) { }
127 } 120 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698