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

Unified Diff: android_webview/common/print_messages.cc

Issue 822133003: Refactor webview to use //components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/common/print_messages.h ('k') | android_webview/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/print_messages.cc
diff --git a/android_webview/common/print_messages.cc b/android_webview/common/print_messages.cc
deleted file mode 100644
index 87e33b83fa062385987029a5741051ed2be18ff3..0000000000000000000000000000000000000000
--- a/android_webview/common/print_messages.cc
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// TODO(sgurun) copied from chrome/common. Remove after crbug.com/322276
-
-#include "android_webview/common/print_messages.h"
-
-#include "base/basictypes.h"
-#include "base/strings/string16.h"
-#include "ui/gfx/geometry/size.h"
-
-PrintMsg_Print_Params::PrintMsg_Print_Params()
- : page_size(),
- content_size(),
- printable_area(),
- margin_top(0),
- margin_left(0),
- dpi(0),
- min_shrink(0),
- max_shrink(0),
- desired_dpi(0),
- document_cookie(0),
- selection_only(false),
- supports_alpha_blend(false),
- preview_ui_id(-1),
- preview_request_id(0),
- is_first_request(false),
- print_scaling_option(blink::WebPrintScalingOptionSourceSize),
- print_to_pdf(false),
- display_header_footer(false),
- title(),
- url(),
- should_print_backgrounds(false) {
-}
-
-PrintMsg_Print_Params::~PrintMsg_Print_Params() {}
-
-void PrintMsg_Print_Params::Reset() {
- page_size = gfx::Size();
- content_size = gfx::Size();
- printable_area = gfx::Rect();
- margin_top = 0;
- margin_left = 0;
- dpi = 0;
- min_shrink = 0;
- max_shrink = 0;
- desired_dpi = 0;
- document_cookie = 0;
- selection_only = false;
- supports_alpha_blend = false;
- preview_ui_id = -1;
- preview_request_id = 0;
- is_first_request = false;
- print_scaling_option = blink::WebPrintScalingOptionSourceSize;
- print_to_pdf = false;
- display_header_footer = false;
- title = base::string16();
- url = base::string16();
- should_print_backgrounds = false;
-}
-
-PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params()
- : pages() {
-}
-
-PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {}
-
-void PrintMsg_PrintPages_Params::Reset() {
- params.Reset();
- pages = std::vector<int>();
-}
-
-PrintHostMsg_RequestPrintPreview_Params::
- PrintHostMsg_RequestPrintPreview_Params()
- : is_modifiable(false),
- webnode_only(false),
- has_selection(false),
- selection_only(false) {
-}
-
-PrintHostMsg_RequestPrintPreview_Params::
- ~PrintHostMsg_RequestPrintPreview_Params() {}
« no previous file with comments | « android_webview/common/print_messages.h ('k') | android_webview/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698