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

Unified Diff: chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h
diff --git a/chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h b/chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h
index 44e3202bf64d01044b478f9f447c6c481a2f302a..a0a52d4cc5c273aa2dde41e1f562727b9b0e65df 100644
--- a/chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h
+++ b/chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h
@@ -5,18 +5,21 @@
#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_
-#include "ui/views/controls/menu/native_menu_win.h"
+#include <windows.h>
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "ui/views/controls/menu/menu_insertion_delegate.h"
// SystemMenuInsertionDelegateWin is used to determine the index to insert menu
// items into the system item. It is only needed on windows as that is the only
// place we insert items into the system menu.
-class SystemMenuInsertionDelegateWin
- : public views::MenuWrapper::InsertionDelegate {
+class SystemMenuInsertionDelegateWin : public views::MenuInsertionDelegate {
public:
SystemMenuInsertionDelegateWin() {}
virtual ~SystemMenuInsertionDelegateWin() {}
- // InsertionDelegate overrides:
+ // Overridden from views::MenuInsertionDelegate:
virtual int GetInsertionIndex(HMENU native_menu) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698