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

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

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_contents/native_tab_contents_container_win.cc ('k') | views/controls/button/native_button_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698