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

Side by Side Diff: chrome/browser/android/tab_android_test_stubs.cc

Issue 23020009: TabBase: Add ContentView/NativePage ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase! Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains stubs for some Chrome for Android specific code that is 5 // This file contains stubs for some Chrome for Android specific code that is
6 // needed to compile some tests. 6 // needed to compile some tests.
7 7
8 #include "chrome/browser/android/tab_android.h" 8 #include "chrome/browser/android/tab_android.h"
9 #include "chrome/browser/infobars/confirm_infobar_delegate.h" 9 #include "chrome/browser/infobars/confirm_infobar_delegate.h"
10 #include "chrome/browser/translate/translate_infobar_delegate.h" 10 #include "chrome/browser/translate/translate_infobar_delegate.h"
11 #include "chrome/browser/ui/auto_login_infobar_delegate.h" 11 #include "chrome/browser/ui/auto_login_infobar_delegate.h"
12 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" 12 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h"
13 #include "printing/printing_context.h" 13 #include "printing/printing_context.h"
14 #include "printing/printing_context_android.h" 14 #include "printing/printing_context_android.h"
15 15
16 // static
17 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
18 return NULL;
19 }
20
21 // static
22 TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) {
23 return NULL;
24 }
25
26 // AutoLoginInfoBarDelegatAndroid empty implementation for test_shell. 16 // AutoLoginInfoBarDelegatAndroid empty implementation for test_shell.
27 // TODO(miguelg) remove once the AutoLoginInfoBar is upstreamed. 17 // TODO(miguelg) remove once the AutoLoginInfoBar is upstreamed.
28 AutoLoginInfoBarDelegateAndroid::AutoLoginInfoBarDelegateAndroid( 18 AutoLoginInfoBarDelegateAndroid::AutoLoginInfoBarDelegateAndroid(
29 InfoBarService* owner, 19 InfoBarService* owner,
30 const AutoLoginInfoBarDelegate::Params& params) 20 const AutoLoginInfoBarDelegate::Params& params)
31 : AutoLoginInfoBarDelegate(owner, params), params_() {} 21 : AutoLoginInfoBarDelegate(owner, params), params_() {}
32 22
33 AutoLoginInfoBarDelegateAndroid::~AutoLoginInfoBarDelegateAndroid() {} 23 AutoLoginInfoBarDelegateAndroid::~AutoLoginInfoBarDelegateAndroid() {}
34 24
35 bool AutoLoginInfoBarDelegateAndroid::Accept() { 25 bool AutoLoginInfoBarDelegateAndroid::Accept() {
(...skipping 27 matching lines...) Expand all
63 // static 53 // static
64 printing::PrintingContext* printing::PrintingContext::Create( 54 printing::PrintingContext* printing::PrintingContext::Create(
65 const std::string& app_locale) { 55 const std::string& app_locale) {
66 return NULL; 56 return NULL;
67 } 57 }
68 58
69 // static 59 // static
70 void printing::PrintingContextAndroid::PdfWritingDone(int fd, bool success) { 60 void printing::PrintingContextAndroid::PdfWritingDone(int fd, bool success) {
71 } 61 }
72 62
OLDNEW
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/browser/sync/glue/synced_tab_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698