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

Side by Side Diff: chrome/android/testshell/testshell_stubs.cc

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses code review issues. Solves infinite recursion bug. Improves the interface between Java an… 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 unified diff | Download patch
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 <string>
whywhat 2013/08/16 23:31:36 nit: I don't think this header is needed. The type
cimamoglu1 2013/08/19 13:47:26 Done.
6
5 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
6 #include "chrome/browser/android/tab_android.h" 8 #include "chrome/browser/android/tab_android.h"
7 #include "chrome/browser/infobars/confirm_infobar_delegate.h" 9 #include "chrome/browser/infobars/confirm_infobar_delegate.h"
8 #include "chrome/browser/translate/translate_infobar_delegate.h" 10 #include "chrome/browser/translate/translate_infobar_delegate.h"
9 #include "chrome/browser/ui/auto_login_infobar_delegate.h" 11 #include "chrome/browser/ui/auto_login_infobar_delegate.h"
10 #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"
11 14
12 // This file contains temporary stubs to allow the libtestshell target to 15 // This file contains temporary stubs to allow the libtestshell target to
13 // compile. They will be removed once real implementations are 16 // compile. They will be removed once real implementations are
14 // written/upstreamed, or once other code is refactored to eliminate the 17 // written/upstreamed, or once other code is refactored to eliminate the
15 // need for them. 18 // need for them.
16 19
17 class InfoBarService; 20 class InfoBarService;
18 21
19 // static 22 // static
20 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { 23 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
(...skipping 29 matching lines...) Expand all
50 // static 53 // static
51 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { 54 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
52 NOTREACHED() << "ConfirmInfoBar: InfoBarFactory should be used on Android"; 55 NOTREACHED() << "ConfirmInfoBar: InfoBarFactory should be used on Android";
53 return NULL; 56 return NULL;
54 } 57 }
55 58
56 // static 59 // static
57 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { 60 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
58 return NULL; 61 return NULL;
59 } 62 }
63
64 // static
65 printing::PrintingContext* printing::PrintingContext::Create(
66 const std::string& app_locale) {
67 return NULL;
68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698