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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.h

Issue 118338: Add support for printing selection only flag. This only adds the flag to the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/render_messages_internal.h ('k') | chrome/renderer/mock_printer.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
7 7
8 // This file provides declarations and stub definitions for classes we encouter 8 // This file provides declarations and stub definitions for classes we encouter
9 // during the porting effort. It is not meant to be permanent, and classes will 9 // during the porting effort. It is not meant to be permanent, and classes will
10 // be removed from here as they are fleshed out more completely. 10 // be removed from here as they are fleshed out more completely.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 class PrinterQuery : public base::RefCountedThreadSafe<PrinterQuery> { 98 class PrinterQuery : public base::RefCountedThreadSafe<PrinterQuery> {
99 public: 99 public:
100 enum GetSettingsAskParam { 100 enum GetSettingsAskParam {
101 DEFAULTS, 101 DEFAULTS,
102 ASK_USER, 102 ASK_USER,
103 }; 103 };
104 104
105 void GetSettings(GetSettingsAskParam ask_user_for_settings, 105 void GetSettings(GetSettingsAskParam ask_user_for_settings,
106 int parent_window, 106 int parent_window,
107 int expected_page_count, 107 int expected_page_count,
108 bool has_selection,
108 CancelableTask* callback) { NOTIMPLEMENTED(); } 109 CancelableTask* callback) { NOTIMPLEMENTED(); }
109 PrintingContext::Result last_status() { return PrintingContext::FAILED; } 110 PrintingContext::Result last_status() { return PrintingContext::FAILED; }
110 const PrintSettings& settings() { NOTIMPLEMENTED(); return settings_; } 111 const PrintSettings& settings() { NOTIMPLEMENTED(); return settings_; }
111 int cookie() { NOTIMPLEMENTED(); return 0; } 112 int cookie() { NOTIMPLEMENTED(); return 0; }
112 void StopWorker() { NOTIMPLEMENTED(); } 113 void StopWorker() { NOTIMPLEMENTED(); }
113 114
114 private: 115 private:
115 PrintSettings settings_; 116 PrintSettings settings_;
116 }; 117 };
117 118
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 void SchedulePaint() { NOTIMPLEMENTED(); } 466 void SchedulePaint() { NOTIMPLEMENTED(); }
466 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } 467 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; }
467 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } 468 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); }
468 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } 469 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; }
469 void Detach() { NOTIMPLEMENTED(); } 470 void Detach() { NOTIMPLEMENTED(); }
470 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } 471 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; }
471 }; 472 };
472 } // namespace views 473 } // namespace views
473 474
474 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 475 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/mock_printer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698