Update to Chromium revision 153668.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@748 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-08-28 22:26:35 +00:00
parent 6a8f3a9410
commit 2e83d58814
36 changed files with 317 additions and 117 deletions

View File

@ -50,6 +50,7 @@
class CefMenuModel : public virtual CefBase {
public:
typedef cef_menu_item_type_t MenuItemType;
typedef cef_menu_separator_type_t MenuSeparatorType;
///
// Clears the menu. Returns true on success.
@ -67,7 +68,7 @@ class CefMenuModel : public virtual CefBase {
// Add a separator to the menu. Returns true on success.
///
/*--cef()--*/
virtual bool AddSeparator() =0;
virtual bool AddSeparator(MenuSeparatorType type) =0;
//
// Add an item to the menu. Returns true on success.
@ -103,7 +104,7 @@ class CefMenuModel : public virtual CefBase {
// success.
///
/*--cef()--*/
virtual bool InsertSeparatorAt(int index) =0;
virtual bool InsertSeparatorAt(int index, MenuSeparatorType type) =0;
//
// Insert an item in the menu at the specified |index|. Returns true on
@ -212,6 +213,12 @@ class CefMenuModel : public virtual CefBase {
/*--cef(default_retval=MENUITEMTYPE_NONE)--*/
virtual MenuItemType GetTypeAt(int index) =0;
///
// Returns the separator type at the specified |index|.
///
/*--cef(default_retval=MENUSEPARATORTYPE_NONE)--*/
virtual MenuSeparatorType GetSeparatorTypeAt(int index) =0;
///
// Returns the group id for the specified |command_id| or -1 if invalid.
///