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 "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" |
| 14 #include "printing/printing_context_android.h" |
13 | 15 |
14 // static | 16 // static |
15 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { | 17 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { |
16 return NULL; | 18 return NULL; |
17 } | 19 } |
18 | 20 |
19 // static | 21 // static |
20 TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) { | 22 TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) { |
21 return NULL; | 23 return NULL; |
22 } | 24 } |
(...skipping 27 matching lines...) Expand all Loading... |
50 // static | 52 // static |
51 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { | 53 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { |
52 NOTREACHED() << "ConfirmInfoBar: InfoBarFactory should be used on Android"; | 54 NOTREACHED() << "ConfirmInfoBar: InfoBarFactory should be used on Android"; |
53 return NULL; | 55 return NULL; |
54 } | 56 } |
55 | 57 |
56 // static | 58 // static |
57 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { | 59 InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { |
58 return NULL; | 60 return NULL; |
59 } | 61 } |
| 62 |
| 63 // static |
| 64 printing::PrintingContext* printing::PrintingContext::Create( |
| 65 const std::string& app_locale) { |
| 66 return NULL; |
| 67 } |
| 68 |
| 69 // static |
| 70 void printing::PrintingContextAndroid::PdfWritingDone(int fd, bool success) { |
| 71 } |
| 72 |
OLD | NEW |