OLD | NEW |
---|---|
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 <string> | |
whywhat
2013/08/16 23:31:36
nit: Ditto
cimamoglu1
2013/08/19 13:47:26
Done.
| |
9 | |
8 #include "chrome/browser/android/tab_android.h" | 10 #include "chrome/browser/android/tab_android.h" |
9 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 11 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
10 #include "chrome/browser/translate/translate_infobar_delegate.h" | 12 #include "chrome/browser/translate/translate_infobar_delegate.h" |
11 #include "chrome/browser/ui/auto_login_infobar_delegate.h" | 13 #include "chrome/browser/ui/auto_login_infobar_delegate.h" |
12 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" | 14 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" |
15 #include "printing/printing_context.h" | |
13 | 16 |
14 // static | 17 // static |
15 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { | 18 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { |
16 return NULL; | 19 return NULL; |
17 } | 20 } |
18 | 21 |
19 // static | 22 // static |
20 TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) { | 23 TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) { |
21 return NULL; | 24 return NULL; |
22 } | 25 } |
(...skipping 27 matching lines...) Expand all Loading... | |
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 } | |
OLD | NEW |