Add ICU message format support
[chromium-blink-merge.git] / ui / views / controls / menu / menu_insertion_delegate_win.h
blobb6f3697996a079aaf845486285c167b75bc3b43f
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.
5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_INSERTION_DELEGATE_WIN_H_
6 #define UI_VIEWS_CONTROLS_MENU_MENU_INSERTION_DELEGATE_WIN_H_
8 #include <windows.h>
10 namespace views {
12 class MenuInsertionDelegateWin {
13 public:
14 // Returns the index to insert items into the menu at.
15 virtual int GetInsertionIndex(HMENU native_menu) = 0;
17 protected:
18 virtual ~MenuInsertionDelegateWin() {}
21 } // namespace views
23 #endif // UI_VIEWS_CONTROLS_MENU_MENU_INSERTION_DELEGATE_WIN_H_