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

Side by Side Diff: chrome/browser/ui/ash/ime_controller_chromeos.h

Issue 857433003: Update {virtual,override,final} to follow C++11 style chrome/browser/ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase Created 5 years, 11 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_ASH_IME_CONTROLLER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
7 7
8 #include "ash/ime_control_delegate.h" 8 #include "ash/ime_control_delegate.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 // A class which controls ime when an IME shortcut key such as Control+space is 12 // A class which controls ime when an IME shortcut key such as Control+space is
13 // pressed. 13 // pressed.
14 class ImeController : public ash::ImeControlDelegate { 14 class ImeController : public ash::ImeControlDelegate {
15 public: 15 public:
16 ImeController() {} 16 ImeController() {}
17 virtual ~ImeController() {} 17 ~ImeController() override {}
18 18
19 // Overridden from ash::ImeControlDelegate: 19 // Overridden from ash::ImeControlDelegate:
20 virtual bool CanCycleIme() override; 20 bool CanCycleIme() override;
21 virtual void HandleNextIme() override; 21 void HandleNextIme() override;
22 virtual void HandlePreviousIme() override; 22 void HandlePreviousIme() override;
23 virtual bool CanSwitchIme(const ui::Accelerator& accelerator) override; 23 bool CanSwitchIme(const ui::Accelerator& accelerator) override;
24 virtual void HandleSwitchIme(const ui::Accelerator& accelerator) override; 24 void HandleSwitchIme(const ui::Accelerator& accelerator) override;
25 virtual ui::Accelerator RemapAccelerator( 25 ui::Accelerator RemapAccelerator(const ui::Accelerator& accelerator) override;
26 const ui::Accelerator& accelerator) override;
27 26
28 private: 27 private:
29 bool UsingFrenchInputMethod() const; 28 bool UsingFrenchInputMethod() const;
30 29
31 DISALLOW_COPY_AND_ASSIGN(ImeController); 30 DISALLOW_COPY_AND_ASSIGN(ImeController);
32 }; 31 };
33 32
34 #endif // CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_ 33 #endif // CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/ime_controller_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698