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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 static void Show(gfx::NativeWindow parent_window, Profile* profile, | 314 static void Show(gfx::NativeWindow parent_window, Profile* profile, |
315 BookmarkNode* parent, BookmarkNode* node, | 315 BookmarkNode* parent, BookmarkNode* node, |
316 Configuration configuration, Handler* handler) { | 316 Configuration configuration, Handler* handler) { |
317 NOTIMPLEMENTED(); | 317 NOTIMPLEMENTED(); |
318 } | 318 } |
319 }; | 319 }; |
320 | 320 |
321 //--------------------------------------------------------------------------- | 321 //--------------------------------------------------------------------------- |
322 // These stubs are for Browser | 322 // These stubs are for Browser |
323 | 323 |
| 324 #if !defined(TOOLKIT_VIEWS) |
324 namespace download_util { | 325 namespace download_util { |
325 void DragDownload(const DownloadItem* download, SkBitmap* icon); | 326 void DragDownload(const DownloadItem* download, SkBitmap* icon); |
326 } // namespace download_util | 327 } // namespace download_util |
| 328 #endif |
327 | 329 |
328 class DebuggerWindow : public base::RefCountedThreadSafe<DebuggerWindow> { | 330 class DebuggerWindow : public base::RefCountedThreadSafe<DebuggerWindow> { |
329 public: | 331 public: |
330 }; | 332 }; |
331 | 333 |
332 class FaviconStatus { | 334 class FaviconStatus { |
333 public: | 335 public: |
334 const GURL& url() const { return url_; } | 336 const GURL& url() const { return url_; } |
335 private: | 337 private: |
336 GURL url_; | 338 GURL url_; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 void SchedulePaint() { NOTIMPLEMENTED(); } | 474 void SchedulePaint() { NOTIMPLEMENTED(); } |
473 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 475 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
474 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | 476 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } |
475 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | 477 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } |
476 void Detach() { NOTIMPLEMENTED(); } | 478 void Detach() { NOTIMPLEMENTED(); } |
477 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | 479 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } |
478 }; | 480 }; |
479 } // namespace views | 481 } // namespace views |
480 | 482 |
481 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 483 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |