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

Side by Side Diff: chrome/common/print_messages.cc

Issue 12177009: Printing selection from context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/common/print_messages.h" 5 #include "chrome/common/print_messages.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "ui/gfx/size.h" 9 #include "ui/gfx/size.h"
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params() 63 PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params()
64 : pages() { 64 : pages() {
65 } 65 }
66 66
67 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {} 67 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {}
68 68
69 void PrintMsg_PrintPages_Params::Reset() { 69 void PrintMsg_PrintPages_Params::Reset() {
70 params.Reset(); 70 params.Reset();
71 pages = std::vector<int>(); 71 pages = std::vector<int>();
72 } 72 }
73
74 PrintHostMsg_RequestPrintPreview_Params::
75 PrintHostMsg_RequestPrintPreview_Params()
76 : is_modifiable(false),
77 webnode_only(false),
78 has_selection(false),
79 selection_only(false) {
80 }
81
82 PrintHostMsg_RequestPrintPreview_Params::
83 ~PrintHostMsg_RequestPrintPreview_Params() {}
OLDNEW
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698