| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |