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

Side by Side Diff: chrome/browser/chromeos/input_method/accessibility.cc

Issue 150203015: Split out InputMethodMenuManager from InputMethodManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make clang happy Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/chromeos/input_method/accessibility.h" 5 #include "chrome/browser/chromeos/input_method/accessibility.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/accessibility/accessibility_events.h" 10 #include "chrome/browser/accessibility/accessibility_events.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const InputMethodDescriptor descriptor = imm_->GetCurrentInputMethod(); 47 const InputMethodDescriptor descriptor = imm_->GetCurrentInputMethod();
48 const std::string medium_name = base::UTF16ToUTF8( 48 const std::string medium_name = base::UTF16ToUTF8(
49 imm_->GetInputMethodUtil()->GetInputMethodMediumName(descriptor)); 49 imm_->GetInputMethodUtil()->GetInputMethodMediumName(descriptor));
50 50
51 AccessibilityAlertInfo event(ProfileManager::GetActiveUserProfile(), 51 AccessibilityAlertInfo event(ProfileManager::GetActiveUserProfile(),
52 medium_name); 52 medium_name);
53 SendControlAccessibilityNotification( 53 SendControlAccessibilityNotification(
54 ui::AccessibilityTypes::EVENT_ALERT, &event); 54 ui::AccessibilityTypes::EVENT_ALERT, &event);
55 } 55 }
56 56
57 void Accessibility::InputMethodPropertyChanged(InputMethodManager* imm) {
58 // Do nothing.
59 }
60
61 } // namespace input_method 57 } // namespace input_method
62 } // namespace chromeos 58 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698