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