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

Side by Side Diff: components/printing/renderer/print_web_view_helper.h

Issue 1103083002: Disable CredentialManagerClientTest on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 #ifndef COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 5 #ifndef COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_
6 #define COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 6 #define COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "content/public/renderer/render_view_observer.h" 16 #include "content/public/renderer/render_view_observer.h"
17 #include "content/public/renderer/render_view_observer_tracker.h" 17 #include "content/public/renderer/render_view_observer_tracker.h"
18 #include "printing/pdf_metafile_skia.h" 18 #include "printing/pdf_metafile_skia.h"
19 #include "third_party/WebKit/public/platform/WebCanvas.h" 19 #include "third_party/WebKit/public/platform/WebCanvas.h"
20 #include "third_party/WebKit/public/web/WebNode.h" 20 #include "third_party/WebKit/public/web/WebNode.h"
21 #include "third_party/WebKit/public/web/WebPrintParams.h" 21 #include "third_party/WebKit/public/web/WebPrintParams.h"
22 #include "ui/gfx/geometry/size.h" 22 #include "ui/gfx/geometry/size.h"
23 23
24 struct PrintMsg_Print_Params; 24 struct PrintMsg_Print_Params;
25 struct PrintMsg_PrintPage_Params; 25 struct PrintMsg_PrintPage_Params;
26 struct PrintMsg_PrintPages_Params; 26 struct PrintMsg_PrintPages_Params;
27 struct PrintHostMsg_SetOptionsFromDocument_Params; 27 struct PrintHostMsg_SetOptionsFromDocument_Params;
28 28
29 // RenderVIewTest-based tests crash on Android 29 // RenderViewTest-based tests crash on Android
30 // http://crbug.com/187500 30 // http://crbug.com/187500
31 #if defined(OS_ANDROID) 31 #if defined(OS_ANDROID)
32 #define MAYBE_PrintWebViewHelperTest DISABLED_PrintWebViewHelperTest 32 #define MAYBE_PrintWebViewHelperTest DISABLED_PrintWebViewHelperTest
33 #define MAYBE_PrintWebViewHelperPreviewTest \ 33 #define MAYBE_PrintWebViewHelperPreviewTest \
34 DISABLED_PrintWebViewHelperPreviewTest 34 DISABLED_PrintWebViewHelperPreviewTest
35 #else 35 #else
36 #define MAYBE_PrintWebViewHelperTest PrintWebViewHelperTest 36 #define MAYBE_PrintWebViewHelperTest PrintWebViewHelperTest
37 #define MAYBE_PrintWebViewHelperPreviewTest PrintWebViewHelperPreviewTest 37 #define MAYBE_PrintWebViewHelperPreviewTest PrintWebViewHelperPreviewTest
38 #endif // defined(OS_ANDROID) 38 #endif // defined(OS_ANDROID)
39 39
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 base::Closure on_stop_loading_closure_; 516 base::Closure on_stop_loading_closure_;
517 517
518 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; 518 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_;
519 519
520 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 520 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
521 }; 521 };
522 522
523 } // namespace printing 523 } // namespace printing
524 524
525 #endif // COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 525 #endif // COMPONENTS_PRINTING_RENDERER_PRINT_WEB_VIEW_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698