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_MENU_INSERTION_DELEGATE_WIN_H_ 6 #define UI_VIEWS_CONTROLS_MENU_MENU_INSERTION_DELEGATE_WIN_H_ 7 8 #include <windows.h> 9 10 namespace views { 11 12 class MenuInsertionDelegateWin { 13 public: 14 // Returns the index to insert items into the menu at. 15 virtual int GetInsertionIndex(HMENU native_menu) = 0; 16 17 protected: ~MenuInsertionDelegateWin()18 virtual ~MenuInsertionDelegateWin() {} 19 }; 20 21 } // namespace views 22 23 #endif // UI_VIEWS_CONTROLS_MENU_MENU_INSERTION_DELEGATE_WIN_H_ 24