| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 static void Show(gfx::NativeWindow parent_window, Profile* profile, | 263 static void Show(gfx::NativeWindow parent_window, Profile* profile, |
| 264 BookmarkNode* parent, BookmarkNode* node, | 264 BookmarkNode* parent, BookmarkNode* node, |
| 265 Configuration configuration, Handler* handler) { | 265 Configuration configuration, Handler* handler) { |
| 266 NOTIMPLEMENTED(); | 266 NOTIMPLEMENTED(); |
| 267 } | 267 } |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 //--------------------------------------------------------------------------- | 270 //--------------------------------------------------------------------------- |
| 271 // These stubs are for Browser | 271 // These stubs are for Browser |
| 272 | 272 |
| 273 #if !defined(TOOLKIT_VIEWS) | 273 #if !defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) |
| 274 namespace download_util { | 274 namespace download_util { |
| 275 void DragDownload(const DownloadItem* download, SkBitmap* icon); | 275 void DragDownload(const DownloadItem* download, |
| 276 SkBitmap* icon, |
| 277 gfx::NativeView view); |
| 276 } // namespace download_util | 278 } // namespace download_util |
| 277 #endif | 279 #endif |
| 278 | 280 |
| 279 class DebuggerWindow : public base::RefCountedThreadSafe<DebuggerWindow> { | 281 class DebuggerWindow : public base::RefCountedThreadSafe<DebuggerWindow> { |
| 280 public: | 282 public: |
| 281 }; | 283 }; |
| 282 | 284 |
| 283 class FaviconStatus { | 285 class FaviconStatus { |
| 284 public: | 286 public: |
| 285 const GURL& url() const { return url_; } | 287 const GURL& url() const { return url_; } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 void SchedulePaint() { NOTIMPLEMENTED(); } | 392 void SchedulePaint() { NOTIMPLEMENTED(); } |
| 391 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 393 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
| 392 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | 394 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } |
| 393 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | 395 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } |
| 394 void Detach() { NOTIMPLEMENTED(); } | 396 void Detach() { NOTIMPLEMENTED(); } |
| 395 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | 397 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } |
| 396 }; | 398 }; |
| 397 } // namespace views | 399 } // namespace views |
| 398 | 400 |
| 399 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 401 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |