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 #include "base/strings/string16.h" | 5 #include "base/strings/string16.h" |
6 #include "chrome/browser/android/tab_android.h" | 6 #include "chrome/browser/android/tab_android.h" |
7 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 7 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
8 #include "chrome/browser/translate/translate_infobar_delegate.h" | 8 #include "chrome/browser/translate/translate_infobar_delegate.h" |
9 #include "chrome/browser/ui/auto_login_infobar_delegate.h" | 9 #include "chrome/browser/ui/auto_login_infobar_delegate.h" |
10 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" | 10 #include "chrome/browser/ui/auto_login_infobar_delegate_android.h" |
| 11 #include "printing/printing_context.h" |
| 12 #include "printing/printing_context_android.h" |
11 | 13 |
12 // This file contains temporary stubs to allow the libtestshell target to | 14 // This file contains temporary stubs to allow the libtestshell target to |
13 // compile. They will be removed once real implementations are | 15 // compile. They will be removed once real implementations are |
14 // written/upstreamed, or once other code is refactored to eliminate the | 16 // written/upstreamed, or once other code is refactored to eliminate the |
15 // need for them. | 17 // need for them. |
16 | 18 |
17 class InfoBarService; | 19 class InfoBarService; |
18 | 20 |
19 // static | 21 // static |
20 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { | 22 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { |
(...skipping 29 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 |