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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool OnRenderViewGone(RenderViewHost*) { | 60 bool OnRenderViewGone(RenderViewHost*) { |
61 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
62 return true; // Assume for now that all renderer crashes are important. | 62 return true; // Assume for now that all renderer crashes are important. |
63 } | 63 } |
64 | 64 |
65 // RenderViewHostDelegate::Printing implementation. | 65 // RenderViewHostDelegate::Printing implementation. |
66 virtual void DidGetPrintedPagesCount(int cookie, int number_pages) { | 66 virtual void DidGetPrintedPagesCount(int cookie, int number_pages) { |
67 NOTIMPLEMENTED(); | 67 NOTIMPLEMENTED(); |
68 } | 68 } |
69 | 69 |
70 #if defined(OS_LINUX) | |
71 virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params); | |
72 #else | |
73 virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params) { | 70 virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params) { |
74 NOTIMPLEMENTED(); | 71 NOTIMPLEMENTED(); |
75 } | 72 } |
76 #endif | |
77 | 73 |
78 private: | 74 private: |
79 TabContents& owner_; | 75 TabContents& owner_; |
80 }; | 76 }; |
81 | 77 |
82 class PrintingContext { | 78 class PrintingContext { |
83 public: | 79 public: |
84 enum Result { OK, CANCEL, FAILED }; | 80 enum Result { OK, CANCEL, FAILED }; |
85 }; | 81 }; |
86 | 82 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 139 |
144 #endif | 140 #endif |
145 | 141 |
146 //--------------------------------------------------------------------------- | 142 //--------------------------------------------------------------------------- |
147 // These stubs are for TabContents | 143 // These stubs are for TabContents |
148 | 144 |
149 class BaseDragSource { | 145 class BaseDragSource { |
150 }; | 146 }; |
151 | 147 |
152 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 148 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |