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

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

Issue 2642303002: PlzNavigate: Chrome UI changes for new methods of WebContentsObserver (Closed)
Patch Set: errorDescription in WCOProxy Created 3 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
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.tab; 5 package org.chromium.chrome.browser.tab;
6 6
7 import android.graphics.Bitmap; 7 import android.graphics.Bitmap;
8 import android.view.ContextMenu; 8 import android.view.ContextMenu;
9 9
10 import org.chromium.content_public.browser.LoadUrlParams; 10 import org.chromium.content_public.browser.LoadUrlParams;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 @Override 75 @Override
76 public void onLoadProgressChanged(Tab tab, int progress) { } 76 public void onLoadProgressChanged(Tab tab, int progress) { }
77 77
78 @Override 78 @Override
79 public void onUpdateUrl(Tab tab, String url) { } 79 public void onUpdateUrl(Tab tab, String url) { }
80 80
81 @Override 81 @Override
82 public void onToggleFullscreenMode(Tab tab, boolean enable) { } 82 public void onToggleFullscreenMode(Tab tab, boolean enable) { }
83 83
84 @Override 84 @Override
85 public void onDidFailLoad(Tab tab, boolean isProvisionalLoad, boolean isMain Frame, 85 public void onDidFailLoad(
86 int errorCode, String description, String failingUrl) { } 86 Tab tab, boolean isMainFrame, int errorCode, String description, Str ing failingUrl) {}
87
88 @Override
89 public void onDidStartProvisionalLoadForFrame(
90 Tab tab, boolean isMainFrame, String validatedUrl) {}
91
92 @Override
93 public void onDidCommitProvisionalLoadForFrame(Tab tab, long frameId, boolea n isMainFrame,
94 String url, int transitionType) { }
95
96 @Override
97 public void onDidNavigateMainFrame(Tab tab, String url, String baseUrl,
98 boolean isNavigationToDifferentPage, boolean isFragmentNavigation, i nt statusCode) { }
99 87
100 @Override 88 @Override
101 public void onDidStartNavigation( 89 public void onDidStartNavigation(
102 Tab tab, String url, boolean isInMainFrame, boolean isErrorPage) {} 90 Tab tab, String url, boolean isInMainFrame, boolean isSamePage, bool ean isErrorPage) {}
103 91
104 @Override 92 @Override
105 public void onDidFinishNavigation(Tab tab, String url, boolean isInMainFrame , 93 public void onDidFinishNavigation(Tab tab, String url, boolean isInMainFrame ,
106 boolean isErrorPage, boolean hasCommitted, boolean isSamePage, Integ er pageTransition, 94 boolean isErrorPage, boolean hasCommitted, boolean isSamePage,
107 int errorCode) {} 95 boolean isFragmentNavigation, Integer pageTransition, int errorCode,
96 int httpStatusCode) {}
108 97
109 @Override 98 @Override
110 public void didFirstVisuallyNonEmptyPaint(Tab tab) {} 99 public void didFirstVisuallyNonEmptyPaint(Tab tab) {}
111 100
112 @Override 101 @Override
113 public void onDidChangeThemeColor(Tab tab, int color) { } 102 public void onDidChangeThemeColor(Tab tab, int color) { }
114 103
115 @Override 104 @Override
116 public void onDidAttachInterstitialPage(Tab tab) { } 105 public void onDidAttachInterstitialPage(Tab tab) { }
117 106
118 @Override 107 @Override
119 public void onDidDetachInterstitialPage(Tab tab) { } 108 public void onDidDetachInterstitialPage(Tab tab) { }
120 109
121 @Override 110 @Override
122 public void onDidStartNavigationToPendingEntry(Tab tab, String url) { }
123
124 @Override
125 public void onBackgroundColorChanged(Tab tab, int color) { } 111 public void onBackgroundColorChanged(Tab tab, int color) { }
126 112
127 @Override 113 @Override
128 public void webContentsCreated(Tab tab, WebContents sourceWebContents, 114 public void webContentsCreated(Tab tab, WebContents sourceWebContents,
129 long openerRenderProcessId, long openerRenderFrameId, String frameNa me, 115 long openerRenderProcessId, long openerRenderFrameId, String frameNa me,
130 String targetUrl, WebContents newWebContents) {} 116 String targetUrl, WebContents newWebContents) {}
131 117
132 @Override 118 @Override
133 public void onReparentingFinished(Tab tab) { } 119 public void onReparentingFinished(Tab tab) { }
134 } 120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698