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

Unified Diff: blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java

Issue 2059443002: Java versions of BlimpContents[,Observer] and BlimpNavigationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-with-blimp
Patch Set: git merge origin/master - track master Created 4 years, 6 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 | « blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java
diff --git a/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java b/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java
new file mode 100644
index 0000000000000000000000000000000000000000..2f4097b2ad633142b6985d81dfbbd839db2f4f42
--- /dev/null
+++ b/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java
@@ -0,0 +1,15 @@
+// Copyright 2016 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.blimp.core_public;
+
+/**
+ * EmptyBlimpContentsObserver is a helper class that has an empty implementation of all the
+ * methods in the {@link BlimpContentsObserver}. It is intented to be used by every class that
+ * does not need to implement all the observer-methods.
+ */
+public class EmptyBlimpContentsObserver implements BlimpContentsObserver {
+ @Override
+ public void onUrlUpdated(String url) {}
+}
« no previous file with comments | « blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698