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

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

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MODEL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_MODEL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_MODEL_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
9 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
10 #include "ui/base/accelerators/accelerator.h" 11 #include "ui/base/accelerators/accelerator.h"
11 #include "ui/base/models/simple_menu_model.h" 12 #include "ui/base/models/simple_menu_model.h"
12 13
13 // Provides the SimpleMenuModel::Delegate implementation for system context 14 // Provides the SimpleMenuModel::Delegate implementation for system context
14 // menus. 15 // menus.
15 class SystemMenuModelDelegate : public ui::SimpleMenuModel::Delegate { 16 class SystemMenuModelDelegate : public ui::SimpleMenuModel::Delegate {
16 public: 17 public:
17 SystemMenuModelDelegate(ui::AcceleratorProvider* provider, Browser* browser); 18 SystemMenuModelDelegate(ui::AcceleratorProvider* provider, Browser* browser);
18 ~SystemMenuModelDelegate() override; 19 ~SystemMenuModelDelegate() override;
(...skipping 10 matching lines...) Expand all
29 void ExecuteCommand(int command_id, int event_flags) override; 30 void ExecuteCommand(int command_id, int event_flags) override;
30 31
31 private: 32 private:
32 ui::AcceleratorProvider* provider_; // weak 33 ui::AcceleratorProvider* provider_; // weak
33 Browser* browser_; // weak 34 Browser* browser_; // weak
34 35
35 DISALLOW_COPY_AND_ASSIGN(SystemMenuModelDelegate); 36 DISALLOW_COPY_AND_ASSIGN(SystemMenuModelDelegate);
36 }; 37 };
37 38
38 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_MODEL_DELEGATE_H_ 39 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SYSTEM_MENU_MODEL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/system_menu_model_builder.cc ('k') | chrome/browser/ui/views/frame/test_with_browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698