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

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

Issue 18640003: Updates some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 (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 #include "chrome/browser/chromeos/input_method/browser_state_monitor.h" 5 #include "chrome/browser/chromeos/input_method/browser_state_monitor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/chromeos/input_method/input_method_util.h" 9 #include "chrome/browser/chromeos/input_method/input_method_util.h"
9 #include "chrome/common/chrome_notification_types.h"
10 #include "chromeos/ime/input_method_delegate.h" 10 #include "chromeos/ime/input_method_delegate.h"
11 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 namespace input_method { 14 namespace input_method {
15 15
16 BrowserStateMonitor::BrowserStateMonitor( 16 BrowserStateMonitor::BrowserStateMonitor(
17 const base::Callback<void(InputMethodManager::State)>& observer) 17 const base::Callback<void(InputMethodManager::State)>& observer)
18 : observer_(observer), 18 : observer_(observer),
19 state_(InputMethodManager::STATE_LOGIN_SCREEN) { 19 state_(InputMethodManager::STATE_LOGIN_SCREEN) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // 101 //
102 // We have to be careful not to overwrite both local and user prefs when 102 // We have to be careful not to overwrite both local and user prefs when
103 // preloaded engine is set. Note that it does not work to do nothing in 103 // preloaded engine is set. Note that it does not work to do nothing in
104 // InputMethodChanged() between chrome::NOTIFICATION_LOGIN_USER_CHANGED and 104 // InputMethodChanged() between chrome::NOTIFICATION_LOGIN_USER_CHANGED and
105 // chrome::NOTIFICATION_SESSION_STARTED because SESSION_STARTED is sent very 105 // chrome::NOTIFICATION_SESSION_STARTED because SESSION_STARTED is sent very
106 // early on Chrome crash/restart. 106 // early on Chrome crash/restart.
107 } 107 }
108 108
109 } // namespace input_method 109 } // namespace input_method
110 } // namespace chromeos 110 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/install_limiter.cc ('k') | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698