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

Side by Side Diff: chrome/android/testshell/testshell_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 #include "base/strings/string16.h" 5 #include "base/strings/string16.h"
6 #include "chrome/browser/android/tab_android.h"
7 #include "chrome/browser/infobars/confirm_infobar_delegate.h" 6 #include "chrome/browser/infobars/confirm_infobar_delegate.h"
8 #include "chrome/browser/translate/translate_infobar_delegate.h" 7 #include "chrome/browser/translate/translate_infobar_delegate.h"
9 #include "chrome/browser/ui/auto_login_infobar_delegate.h" 8 #include "chrome/browser/ui/auto_login_infobar_delegate.h"
10 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" 9 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h"
11 #include "printing/printing_context.h" 10 #include "printing/printing_context.h"
12 #include "printing/printing_context_android.h" 11 #include "printing/printing_context_android.h"
13 12
14 // This file contains temporary stubs to allow the libtestshell target to 13 // This file contains temporary stubs to allow the libtestshell target to
15 // compile. They will be removed once real implementations are 14 // compile. They will be removed once real implementations are
16 // written/upstreamed, or once other code is refactored to eliminate the 15 // written/upstreamed, or once other code is refactored to eliminate the
17 // need for them. 16 // need for them.
18 17
19 class InfoBarService; 18 class InfoBarService;
20 19
21 // static
22 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
23 return NULL;
24 }
25
26 // AutoLoginInfoBarDelegatAndroid empty implementation for test_shell 20 // AutoLoginInfoBarDelegatAndroid empty implementation for test_shell
27 // TODO(miguelg) remove once the AutoLoginInfoBar is upstreamed. 21 // TODO(miguelg) remove once the AutoLoginInfoBar is upstreamed.
28 AutoLoginInfoBarDelegateAndroid::AutoLoginInfoBarDelegateAndroid( 22 AutoLoginInfoBarDelegateAndroid::AutoLoginInfoBarDelegateAndroid(
29 InfoBarService* owner, 23 InfoBarService* owner,
30 const AutoLoginInfoBarDelegate::Params& params) 24 const AutoLoginInfoBarDelegate::Params& params)
31 : AutoLoginInfoBarDelegate(owner, params), params_() {} 25 : AutoLoginInfoBarDelegate(owner, params), params_() {}
32 26
33 AutoLoginInfoBarDelegateAndroid::~AutoLoginInfoBarDelegateAndroid() {} 27 AutoLoginInfoBarDelegateAndroid::~AutoLoginInfoBarDelegateAndroid() {}
34 28
35 bool AutoLoginInfoBarDelegateAndroid::Accept() { 29 bool AutoLoginInfoBarDelegateAndroid::Accept() {
(...skipping 27 matching lines...) Expand all
63 // static 57 // static
64 printing::PrintingContext* printing::PrintingContext::Create( 58 printing::PrintingContext* printing::PrintingContext::Create(
65 const std::string& app_locale) { 59 const std::string& app_locale) {
66 return NULL; 60 return NULL;
67 } 61 }
68 62
69 // static 63 // static
70 void printing::PrintingContextAndroid::PdfWritingDone(int fd, bool success) { 64 void printing::PrintingContextAndroid::PdfWritingDone(int fd, bool success) {
71 } 65 }
72 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698