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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 class OSExchangeData { | 416 class OSExchangeData { |
417 public: | 417 public: |
418 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } | 418 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } |
419 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } | 419 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } |
420 }; | 420 }; |
421 #endif | 421 #endif |
422 | 422 |
423 class BaseDragSource { | 423 class BaseDragSource { |
424 }; | 424 }; |
425 | 425 |
426 //--------------------------------------------------------------------------- | |
427 // These stubs are for extensions | |
428 | |
429 namespace views { | |
430 class HWNDView { | |
431 public: | |
432 int width() { NOTIMPLEMENTED(); return 0; } | |
433 int height() { NOTIMPLEMENTED(); return 0; } | |
434 void InitHidden() { NOTIMPLEMENTED(); } | |
435 void SetPreferredSize(const gfx::Size& size) { NOTIMPLEMENTED(); } | |
436 virtual void SetBackground(const SkBitmap&) { NOTIMPLEMENTED(); } | |
437 virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); } | |
438 void SizeToPreferredSize() { NOTIMPLEMENTED(); } | |
439 bool IsVisible() const { NOTIMPLEMENTED(); return false; } | |
440 void Layout() { NOTIMPLEMENTED(); } | |
441 void SchedulePaint() { NOTIMPLEMENTED(); } | |
442 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | |
443 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | |
444 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | |
445 void Detach() { NOTIMPLEMENTED(); } | |
446 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | |
447 }; | |
448 } // namespace views | |
449 | |
450 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 426 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |