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

Unified Diff: trunk/src/ui/views/controls/menu/menu_insertion_delegate.h

Issue 14320040: Revert 194356 "views: Finally get rid of the deprecated Menu2 API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | « trunk/src/ui/views/controls/menu/menu_2.cc ('k') | trunk/src/ui/views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/controls/menu/menu_insertion_delegate.h
===================================================================
--- trunk/src/ui/views/controls/menu/menu_insertion_delegate.h (revision 195258)
+++ trunk/src/ui/views/controls/menu/menu_insertion_delegate.h (working copy)
@@ -1,21 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
-#define UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
-
-namespace views {
-
-class MenuInsertionDelegate {
- public:
- // Returns the index to insert items into the menu at.
- virtual int GetInsertionIndex(HMENU native_menu) = 0;
-
- protected:
- virtual ~MenuInsertionDelegate() {}
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
« no previous file with comments | « trunk/src/ui/views/controls/menu/menu_2.cc ('k') | trunk/src/ui/views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698