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

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

Issue 23020009: TabBase: Add ContentView/NativePage ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase! Created 7 years, 4 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/NativePage.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java b/chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java
new file mode 100644
index 0000000000000000000000000000000000000000..8b5898e6a8dfa6669a8147d73a329d4596ded0a7
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java
@@ -0,0 +1,23 @@
+// Copyright (c) 2013 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.
+
+package org.chromium.chrome.browser;
+
+/**
+ * An implementation of the {@link TabObserver} which has empty implementations of all methods.
+ */
+public class EmptyTabObserver implements TabObserver {
+
+ @Override
+ public void onLoadProgressChanged(TabBase tab, int progress) { }
+
+ @Override
+ public void onUpdateUrl(TabBase tab, String url) { }
+
+ @Override
+ public void onDestroyed(TabBase tab) { }
+
+ @Override
+ public void onContentChanged(TabBase tab) { }
+}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/NativePage.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698