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

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

Issue 10452042: Fixing french keyboard handling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed unit test Created 8 years, 6 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
« no previous file with comments | « ash/ime_control_delegate.h ('k') | chrome/browser/ui/views/ash/ime_controller_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ASH_IME_CONTROLLER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_IME_CONTROLLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_IME_CONTROLLER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_IME_CONTROLLER_CHROMEOS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ime_control_delegate.h" 9 #include "ash/ime_control_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 // A class which controls ime when an IME shortcut key such as Control+space is 13 // A class which controls ime when an IME shortcut key such as Control+space is
14 // pressed. 14 // pressed.
15 class ImeController : public ash::ImeControlDelegate { 15 class ImeController : public ash::ImeControlDelegate {
16 public: 16 public:
17 ImeController() {} 17 ImeController() {}
18 virtual ~ImeController() {} 18 virtual ~ImeController() {}
19 19
20 // Overridden from ash::ImeControlDelegate: 20 // Overridden from ash::ImeControlDelegate:
21 virtual bool HandleNextIme() OVERRIDE; 21 virtual bool HandleNextIme() OVERRIDE;
22 virtual bool HandlePreviousIme() OVERRIDE; 22 virtual bool HandlePreviousIme() OVERRIDE;
23 virtual bool HandleSwitchIme(const ui::Accelerator& accelerator) OVERRIDE; 23 virtual bool HandleSwitchIme(const ui::Accelerator& accelerator) OVERRIDE;
24 virtual ui::Accelerator RemapAccelerator(
25 const ui::Accelerator& accelerator) OVERRIDE;
24 26
25 private: 27 private:
28 bool UsingFrenchInputMethod() const;
29
26 DISALLOW_COPY_AND_ASSIGN(ImeController); 30 DISALLOW_COPY_AND_ASSIGN(ImeController);
27 }; 31 };
28 32
29 #endif // CHROME_BROWSER_UI_VIEWS_ASH_IME_CONTROLLER_CHROMEOS_H_ 33 #endif // CHROME_BROWSER_UI_VIEWS_ASH_IME_CONTROLLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/ime_control_delegate.h ('k') | chrome/browser/ui/views/ash/ime_controller_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698