summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 21:13:21 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 21:13:21 +0000
commit8658a07ddd3658e1b502a92a7d3c9e9abab674be (patch)
treeb3fd9181fa7ae4caba1eb8bc24f3584d95668256
parent481e0d05062f8cd4192db95b551fb4121b99fd7b (diff)
downloadchromium_src-8658a07ddd3658e1b502a92a7d3c9e9abab674be.zip
chromium_src-8658a07ddd3658e1b502a92a7d3c9e9abab674be.tar.gz
chromium_src-8658a07ddd3658e1b502a92a7d3c9e9abab674be.tar.bz2
Remove old cruft from temp_scaffolding_stubs.h that isn't needed anymore.
BUG=none TEST=none Review URL: http://codereview.chromium.org/174251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24013 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/temp_scaffolding_stubs.h136
1 files changed, 0 insertions, 136 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 53e4fd1..ea2c92b 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -151,121 +151,9 @@ class BrokerServices {
struct ViewHostMsg_DidPrintPage_Params;
-namespace views {
-
-#if !defined(TOOLKIT_VIEWS)
-class MenuItemView {
- public:
- enum Type {
- NORMAL,
- SUBMENU,
- CHECKBOX,
- RADIO,
- SEPARATOR
- };
- enum AnchorPosition {
- TOPLEFT,
- TOPRIGHT
- };
- MenuItemView(BookmarkContextMenu*) { NOTIMPLEMENTED(); }
- void RunMenuAt(gfx::NativeWindow parent, const gfx::Rect& bounds,
- AnchorPosition anchor, bool has_mnemonics) {
- NOTIMPLEMENTED();
- }
- void Cancel() { NOTIMPLEMENTED(); }
- void AppendMenuItem(int item_id, const std::wstring& label, Type type) {
- NOTIMPLEMENTED();
- }
- void AppendMenuItemWithLabel(int item_id, const std::wstring& label) {
- NOTIMPLEMENTED();
- }
- void AppendSeparator() { NOTIMPLEMENTED(); }
-};
-
-class MenuDelegate {
-};
-#endif
-
-#if !defined(OS_LINUX)
-class Window {
- public:
- void Show() { NOTIMPLEMENTED(); }
- virtual void Close() { NOTIMPLEMENTED(); }
-};
-#endif
-
-} // namespace views
-
class InputWindowDelegate {
};
-#if !defined(TOOLKIT_VIEWS)
-namespace views {
-
-class Menu {
- public:
- enum AnchorPoint {
- TOPLEFT,
- TOPRIGHT
- };
- enum MenuItemType {
- NORMAL,
- CHECKBOX,
- RADIO,
- SEPARATOR
- };
- class Delegate {
- };
- Menu(Delegate* delegate, AnchorPoint anchor, gfx::NativeWindow owner) {
- NOTIMPLEMENTED();
- }
- void AppendMenuItem(int item_id, const std::wstring& label,
- MenuItemType type) {
- NOTIMPLEMENTED();
- }
- void AppendMenuItemWithLabel(int item_id, const std::wstring& label) {
- NOTIMPLEMENTED();
- }
- Menu* AppendSubMenu(int item_id, const std::wstring& label) {
- NOTIMPLEMENTED();
- return NULL;
- }
- void AppendSeparator() { NOTIMPLEMENTED(); }
- void AppendDelegateMenuItem(int item_id) { NOTIMPLEMENTED(); }
-};
-
-} // namespace view
-#endif
-
-class BookmarkManagerView {
- public:
- static BookmarkManagerView* current() {
- NOTIMPLEMENTED();
- return NULL;
- }
- static void Show(Profile* profile) { NOTIMPLEMENTED(); }
- void SelectInTree(BookmarkNode* node) { NOTIMPLEMENTED(); }
- Profile* profile() const {
- NOTIMPLEMENTED();
- return NULL;
- }
-};
-
-class BookmarkEditorView {
- public:
- class Handler {
- };
- enum Configuration {
- SHOW_TREE,
- NO_TREE
- };
- static void Show(gfx::NativeWindow parent_window, Profile* profile,
- BookmarkNode* parent, BookmarkNode* node,
- Configuration configuration, Handler* handler) {
- NOTIMPLEMENTED();
- }
-};
-
//---------------------------------------------------------------------------
// These stubs are for Browser
@@ -365,28 +253,4 @@ class FontsLanguagesWindowView {
class BaseDragSource {
};
-//---------------------------------------------------------------------------
-// These stubs are for extensions
-
-namespace views {
-class HWNDView {
- public:
- int width() { NOTIMPLEMENTED(); return 0; }
- int height() { NOTIMPLEMENTED(); return 0; }
- void InitHidden() { NOTIMPLEMENTED(); }
- void SetPreferredSize(const gfx::Size& size) { NOTIMPLEMENTED(); }
- virtual void SetBackground(const SkBitmap&) { NOTIMPLEMENTED(); }
- virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); }
- void SizeToPreferredSize() { NOTIMPLEMENTED(); }
- bool IsVisible() const { NOTIMPLEMENTED(); return false; }
- void Layout() { NOTIMPLEMENTED(); }
- void SchedulePaint() { NOTIMPLEMENTED(); }
- HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; }
- virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); }
- gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; }
- void Detach() { NOTIMPLEMENTED(); }
- gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; }
-};
-} // namespace views
-
#endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_