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

Side by Side Diff: ui/views/controls/menu/menu_insertion_delegate.h

Issue 14150005: views: Finally get rid of the deprecated Menu2 API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm comment 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
6 #define UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
7
8 namespace views {
9
10 class MenuInsertionDelegate {
11 public:
12 // Returns the index to insert items into the menu at.
13 virtual int GetInsertionIndex(HMENU native_menu) = 0;
14
15 protected:
16 virtual ~MenuInsertionDelegate() {}
17 };
18
19 } // namespace views
20
21 #endif // UI_VIEWS_CONTROLS_MENU_INSERTION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698