summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver/ime/text_service.h
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-21 12:46:52 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-21 20:47:59 +0000
commit512186a7613d5d499bce19b45c8d0264e9c18448 (patch)
treef1f91e4d1743ca77257b13352a94b4aa88c3dda5 /win8/metro_driver/ime/text_service.h
parentb2615229259c4cffdeb37efa4f2422b6624e9c07 (diff)
downloadchromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.zip
chromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.tar.gz
chromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.tar.bz2
Switch to standard integer types in win8/.
BUG=138542 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/1540973003 Cr-Commit-Position: refs/heads/master@{#366452}
Diffstat (limited to 'win8/metro_driver/ime/text_service.h')
-rw-r--r--win8/metro_driver/ime/text_service.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/win8/metro_driver/ime/text_service.h b/win8/metro_driver/ime/text_service.h
index 6ddd21f..c3dcacd 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.