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

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

Issue 276004: Wire up printing on the Mac (Closed)
Patch Set: Created 11 years, 2 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
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 28 matching lines...) Expand all
39 } 39 }
40 40
41 //--------------------------------------------------------------------------- 41 //---------------------------------------------------------------------------
42 // These stubs are for Browser_main() 42 // These stubs are for Browser_main()
43 43
44 void InstallJankometer(const CommandLine&); 44 void InstallJankometer(const CommandLine&);
45 45
46 //--------------------------------------------------------------------------- 46 //---------------------------------------------------------------------------
47 // These stubs are for BrowserProcessImpl 47 // These stubs are for BrowserProcessImpl
48 48
49 #if !defined(OS_MACOSX)
49 class ViewMsg_Print_Params; 50 class ViewMsg_Print_Params;
50 51
51 // Printing is all (obviously) not implemented. 52 // Printing is all (obviously) not implemented.
52 // http://code.google.com/p/chromium/issues/detail?id=9847 53 // http://code.google.com/p/chromium/issues/detail?id=9847
53 namespace printing { 54 namespace printing {
54 55
55 class PrintViewManager : public RenderViewHostDelegate::Printing { 56 class PrintViewManager : public RenderViewHostDelegate::Printing {
56 public: 57 public:
57 PrintViewManager(TabContents& owner) : owner_(owner) { } 58 PrintViewManager(TabContents& owner) : owner_(owner) { }
58 void Stop() { NOTIMPLEMENTED(); } 59 void Stop() { NOTIMPLEMENTED(); }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 class PrintJobManager { 111 class PrintJobManager {
111 public: 112 public:
112 void OnQuit() { } 113 void OnQuit() { }
113 void PopPrinterQuery(int document_cookie, scoped_refptr<PrinterQuery>* job) { 114 void PopPrinterQuery(int document_cookie, scoped_refptr<PrinterQuery>* job) {
114 NOTIMPLEMENTED(); 115 NOTIMPLEMENTED();
115 } 116 }
116 void QueuePrinterQuery(PrinterQuery* job) { NOTIMPLEMENTED(); } 117 void QueuePrinterQuery(PrinterQuery* job) { NOTIMPLEMENTED(); }
117 }; 118 };
118 119
119 } // namespace printing 120 } // namespace printing
121 #endif // !OS_MACOSX
120 122
121 //--------------------------------------------------------------------------- 123 //---------------------------------------------------------------------------
122 // These stubs are for Browser 124 // These stubs are for Browser
123 125
124 #if !defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) 126 #if !defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
125 namespace download_util { 127 namespace download_util {
126 void DragDownload(const DownloadItem* download, 128 void DragDownload(const DownloadItem* download,
127 SkBitmap* icon, 129 SkBitmap* icon,
128 gfx::NativeView view); 130 gfx::NativeView view);
129 } // namespace download_util 131 } // namespace download_util
130 #endif 132 #endif
131 133
132 #if defined(OS_MACOSX) 134 #if defined(OS_MACOSX)
133 class DockInfo { 135 class DockInfo {
134 public: 136 public:
135 bool GetNewWindowBounds(gfx::Rect*, bool*) const; 137 bool GetNewWindowBounds(gfx::Rect*, bool*) const;
136 void AdjustOtherWindowBounds() const; 138 void AdjustOtherWindowBounds() const;
137 }; 139 };
138 #else 140 #else
139 141
140 #endif 142 #endif
141 143
142 //--------------------------------------------------------------------------- 144 //---------------------------------------------------------------------------
143 // These stubs are for TabContents 145 // These stubs are for TabContents
144 146
145 class BaseDragSource { 147 class BaseDragSource {
146 }; 148 };
147 149
148 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 150 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698