diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-24 15:46:45 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-24 15:46:45 +0000 |
commit | a87ecb3c7170caa40810def524fbae1aee4d3533 (patch) | |
tree | 947732a745f124feda7ace8ac466cf75c746db62 /chrome/common/temp_scaffolding_stubs.cc | |
parent | de1b764f404e5fb6975e7cc9de7120d46e28dcfd (diff) | |
download | chromium_src-a87ecb3c7170caa40810def524fbae1aee4d3533.zip chromium_src-a87ecb3c7170caa40810def524fbae1aee4d3533.tar.gz chromium_src-a87ecb3c7170caa40810def524fbae1aee4d3533.tar.bz2 |
Further refactoring of menus for GTK. I've now separated out
everything and menus some what work on GTK. I need to get painting
working and I'm sure there will be fine tuning, but I want to check in
all this splitting of files before someone else needs change one of
these files.
Thankfully I wrote an interactive ui test that exercises much of this code, and it still passes:)
BUG=none
TEST=thoroughly test bookmark menus on windows to make sure I didn't
break them.
Review URL: http://codereview.chromium.org/174274
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cc')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index c629020..46a7a46 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -308,86 +308,6 @@ void ShowFontsLanguagesWindow(gfx::NativeWindow window, //------------------------------------------------------------------------------ #if defined(OS_LINUX) && defined(TOOLKIT_VIEWS) -namespace views { - -MenuItemView::MenuItemView(MenuDelegate* delegate) { -} - -MenuItemView::~MenuItemView() { -} - -MenuItemView* MenuItemView::AppendMenuItemInternal(int item_id, - const std::wstring& label, - const SkBitmap& icon, - Type type) { - NOTIMPLEMENTED(); - return NULL; -} - -void MenuItemView::RunMenuAt(gfx::NativeView parent, - const gfx::Rect& bounds, - AnchorPosition anchor, - bool has_mnemonics) { - NOTIMPLEMENTED(); -} - -void MenuItemView::RunMenuForDropAt(gfx::NativeView parent, - const gfx::Rect& bounds, - AnchorPosition anchor) { - NOTIMPLEMENTED(); -} - -// Hides and cancels the menu. This does nothing if the menu is not open. -void MenuItemView::Cancel() { - NOTIMPLEMENTED(); -} - -SubmenuView* MenuItemView::CreateSubmenu() { - NOTIMPLEMENTED(); - return NULL; -} - -void MenuItemView::SetSelected(bool selected) { - NOTIMPLEMENTED(); -} - -void MenuItemView::SetIcon(const SkBitmap& icon, int item_id) { - NOTIMPLEMENTED(); -} - -void MenuItemView::SetIcon(const SkBitmap& icon) { - NOTIMPLEMENTED(); -} - -void MenuItemView::Paint(gfx::Canvas* canvas) { - NOTIMPLEMENTED(); -} - -gfx::Size MenuItemView::GetPreferredSize() { - NOTIMPLEMENTED(); - return gfx::Size(); -} - -MenuController* MenuItemView::GetMenuController() { - NOTIMPLEMENTED(); - return NULL; -} - -MenuDelegate* MenuItemView::GetDelegate() { - NOTIMPLEMENTED(); - return NULL; -} - -MenuItemView* MenuItemView::GetRootMenuItem() { - NOTIMPLEMENTED(); - return NULL; -} - -wchar_t MenuItemView::GetMnemonic() { - return 'a'; -} - -} // namespace views ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog( TabContents* owner, |