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

Side by Side Diff: chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/views/controls/menu/menu_insertion_delegate_win.h" 10 #include "ui/views/controls/menu/menu_insertion_delegate_win.h"
11 11
12 // SystemMenuInsertionDelegateWin is used to determine the index to insert menu 12 // SystemMenuInsertionDelegateWin is used to determine the index to insert menu
13 // items into the system item. It is only needed on windows as that is the only 13 // items into the system item. It is only needed on windows as that is the only
14 // place we insert items into the system menu. 14 // place we insert items into the system menu.
15 class SystemMenuInsertionDelegateWin : public views::MenuInsertionDelegateWin { 15 class SystemMenuInsertionDelegateWin : public views::MenuInsertionDelegateWin {
16 public: 16 public:
17 SystemMenuInsertionDelegateWin() {} 17 SystemMenuInsertionDelegateWin() {}
18 virtual ~SystemMenuInsertionDelegateWin() {} 18 virtual ~SystemMenuInsertionDelegateWin() {}
19 19
20 // Overridden from views::MenuInsertionDelegateWin: 20 // Overridden from views::MenuInsertionDelegateWin:
21 virtual int GetInsertionIndex(HMENU native_menu) OVERRIDE; 21 virtual int GetInsertionIndex(HMENU native_menu) override;
22 22
23 private: 23 private:
24 DISALLOW_COPY_AND_ASSIGN(SystemMenuInsertionDelegateWin); 24 DISALLOW_COPY_AND_ASSIGN(SystemMenuInsertionDelegateWin);
25 }; 25 };
26 26
27 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_ 27 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_INSERTION_DELEGATE_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698