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

Side by Side Diff: win8/metro_driver/ime/input_source.cc

Issue 1540973003: Switch to standard integer types in win8/. (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
« no previous file with comments | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/input_source_observer.h » ('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 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 "win8/metro_driver/ime/input_source.h" 5 #include "win8/metro_driver/ime/input_source.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 #include <msctf.h> 9 #include <msctf.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/observer_list.h" 16 #include "base/observer_list.h"
16 #include "base/win/scoped_comptr.h" 17 #include "base/win/scoped_comptr.h"
17 #include "ui/base/win/atl_module.h" 18 #include "ui/base/win/atl_module.h"
18 #include "win8/metro_driver/ime/input_source_observer.h" 19 #include "win8/metro_driver/ime/input_source_observer.h"
19 20
20 namespace metro_driver { 21 namespace metro_driver {
21 namespace { 22 namespace {
22 23
23 // An implementation of ITfLanguageProfileNotifySink interface, which will be 24 // An implementation of ITfLanguageProfileNotifySink interface, which will be
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 LOG(ERROR) << "Failed to initialize the monitor."; 163 LOG(ERROR) << "Failed to initialize the monitor.";
163 return scoped_ptr<InputSource>(); 164 return scoped_ptr<InputSource>();
164 } 165 }
165 166
166 // Transfer the ownership. 167 // Transfer the ownership.
167 return scoped_ptr<InputSource>( 168 return scoped_ptr<InputSource>(
168 new InputSourceImpl(profile_manager.get(), monitor)); 169 new InputSourceImpl(profile_manager.get(), monitor));
169 } 170 }
170 171
171 } // namespace metro_driver 172 } // namespace metro_driver
OLDNEW
« no previous file with comments | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/input_source_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698