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

Unified Diff: win8/metro_driver/ime/text_service.h

Issue 1540973003: Switch to standard integer types in win8/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « win8/metro_driver/ime/input_source_observer.h ('k') | win8/metro_driver/ime/text_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/text_service.h
diff --git a/win8/metro_driver/ime/text_service.h b/win8/metro_driver/ime/text_service.h
index 6ddd21f3ccb77bec09f835b585d39676a87d25b4..c3dcacd6c90f3aaef2031e647168d71b29c733f6 100644
--- a/win8/metro_driver/ime/text_service.h
+++ b/win8/metro_driver/ime/text_service.h
@@ -5,11 +5,11 @@
#ifndef WIN8_METRO_DRIVER_IME_TEXT_SERVICE_H_
#define WIN8_METRO_DRIVER_IME_TEXT_SERVICE_H_
-#include <Windows.h>
+#include <windows.h>
+#include <stdint.h>
#include <vector>
-#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
namespace metro_viewer {
@@ -31,12 +31,12 @@ class TextService {
// Updates document type with |input_scopes| and caret/composition position
// with |character_bounds|. An empty |input_scopes| indicates that IMEs
// should be disabled until non-empty |input_scopes| is specified.
- // Note: |input_scopes| is defined as std::vector<int32> here rather than
+ // Note: |input_scopes| is defined as std::vector<int32_t> here rather than
// std::vector<InputScope> because the wire format of IPC message
- // MetroViewerHostMsg_ImeTextInputClientUpdated uses std::vector<int32> to
+ // MetroViewerHostMsg_ImeTextInputClientUpdated uses std::vector<int32_t> to
// avoid dependency on <InputScope.h> header.
virtual void OnDocumentChanged(
- const std::vector<int32>& input_scopes,
+ const std::vector<int32_t>& input_scopes,
const std::vector<metro_viewer::CharacterBounds>& character_bounds) = 0;
// Must be called whenever the attached window gains keyboard focus.
« no previous file with comments | « win8/metro_driver/ime/input_source_observer.h ('k') | win8/metro_driver/ime/text_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698