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

Side by Side Diff: blimp/client/core/android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java

Issue 2233023002: Adding BlimpNavigationController to Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nav_handler_remove
Patch Set: Fixing unit tests Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.blimp.core; 5 package org.chromium.blimp.core;
6 6
7 import android.preference.PreferenceFragment; 7 import android.preference.PreferenceFragment;
8 8
9 import org.chromium.base.annotations.CalledByNative; 9 import org.chromium.base.annotations.CalledByNative;
10 import org.chromium.base.annotations.JNINamespace; 10 import org.chromium.base.annotations.JNINamespace;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 assert mNativeDummyBlimpClientContextAndroid != 0; 47 assert mNativeDummyBlimpClientContextAndroid != 0;
48 return mNativeDummyBlimpClientContextAndroid; 48 return mNativeDummyBlimpClientContextAndroid;
49 } 49 }
50 50
51 @Override 51 @Override
52 public boolean isBlimpSupported() { 52 public boolean isBlimpSupported() {
53 return false; 53 return false;
54 } 54 }
55 55
56 @Override 56 @Override
57 public void attachBlimpPreferences(PreferenceFragment fragment, 57 public boolean isBlimpEnabled() {
58 BlimpSettingsCallbacks callbacks) { 58 return false;
59 } 59 }
60 60
61 @Override 61 @Override
62 public void attachBlimpPreferences(
63 PreferenceFragment fragment, BlimpSettingsCallbacks callbacks) {}
64
65 @Override
62 public void setDelegate(BlimpClientContextDelegate delegate) { 66 public void setDelegate(BlimpClientContextDelegate delegate) {
63 } 67 }
64 68
65 @Override 69 @Override
66 public void connect() {} 70 public void connect() {}
67 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698