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

Unified Diff: ui/views/controls/menu/menu_gtk.cc

Issue 9728002: Removing deprecated GTK-Views code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/menu/menu_gtk.h ('k') | ui/views/controls/menu/native_menu_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_gtk.cc
diff --git a/ui/views/controls/menu/menu_gtk.cc b/ui/views/controls/menu/menu_gtk.cc
deleted file mode 100644
index 49972b29d0af62c4420db0e3db19208188939c17..0000000000000000000000000000000000000000
--- a/ui/views/controls/menu/menu_gtk.cc
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/views/controls/menu/menu_gtk.h"
-
-#include "base/logging.h"
-
-namespace views {
-
-// static
-Menu* Menu::Create(Delegate* delegate,
- AnchorPoint anchor,
- gfx::NativeView parent) {
- return new MenuGtk(delegate, anchor, parent);
-}
-
-// static
-Menu* Menu::GetSystemMenu(gfx::NativeWindow parent) {
- NOTIMPLEMENTED();
- return NULL;
-}
-
-MenuGtk::MenuGtk(Delegate* d, AnchorPoint anchor, gfx::NativeView owner)
- : Menu(d, anchor) {
- DCHECK(delegate());
-}
-
-MenuGtk::~MenuGtk() {
-}
-
-Menu* MenuGtk::AddSubMenuWithIcon(int index,
- int item_id,
- const string16& label,
- const SkBitmap& icon) {
- NOTIMPLEMENTED();
- return NULL;
-}
-
-void MenuGtk::AddSeparator(int index) {
- NOTIMPLEMENTED();
-}
-
-void MenuGtk::EnableMenuItemByID(int item_id, bool enabled) {
- NOTIMPLEMENTED();
-}
-
-void MenuGtk::EnableMenuItemAt(int index, bool enabled) {
- NOTIMPLEMENTED();
-}
-
-void MenuGtk::SetMenuLabel(int item_id, const string16& label) {
- NOTIMPLEMENTED();
-}
-
-bool MenuGtk::SetIcon(const SkBitmap& icon, int item_id) {
- NOTIMPLEMENTED();
- return false;
-}
-
-void MenuGtk::RunMenuAt(int x, int y) {
- NOTIMPLEMENTED();
-}
-
-void MenuGtk::Cancel() {
- NOTIMPLEMENTED();
-}
-
-int MenuGtk::ItemCount() {
- NOTIMPLEMENTED();
- return 0;
-}
-
-void MenuGtk::AddMenuItemInternal(int index,
- int item_id,
- const string16& label,
- const SkBitmap& icon,
- MenuItemType type) {
- NOTIMPLEMENTED();
-}
-
-} // namespace views
« no previous file with comments | « ui/views/controls/menu/menu_gtk.h ('k') | ui/views/controls/menu/native_menu_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698