Index: chrome/browser/chromeos/input_method/input_method_engine.cc |
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc |
index e417e360a9ff2801319ea32ac9b1d2a9393602b1..5d5431a3406e2916e83bc819070dd26b89c38aa9 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc |
@@ -48,7 +48,7 @@ const char kCandidateNotFound[] = "Candidate not found"; |
// Notifies InputContextHandler that the composition is changed. |
void UpdateComposition(const ui::CompositionText& composition_text, |
- uint32 cursor_pos, |
+ uint32_t cursor_pos, |
bool is_visible) { |
ui::IMEInputContextHandlerInterface* input_context = |
ui::IMEBridge::Get()->GetInputContextHandler(); |
@@ -120,7 +120,7 @@ std::string GetKeyFromEvent(const ui::KeyEvent& event) { |
default: |
break; |
} |
- uint16 ch = 0; |
+ uint16_t ch = 0; |
// Ctrl+? cases, gets key value for Ctrl is not down. |
if (event.flags() & ui::EF_CONTROL_DOWN) { |
ui::KeyEvent event_no_ctrl(event.type(), event.key_code(), |
@@ -599,7 +599,7 @@ void InputMethodEngine::ProcessKeyEvent(const ui::KeyEvent& key_event, |
observer_->OnKeyEvent(active_component_id_, ext_event, callback); |
} |
-void InputMethodEngine::CandidateClicked(uint32 index) { |
+void InputMethodEngine::CandidateClicked(uint32_t index) { |
if (!CheckProfile()) |
return; |
if (index > candidate_ids_.size()) { |
@@ -612,9 +612,9 @@ void InputMethodEngine::CandidateClicked(uint32 index) { |
} |
void InputMethodEngine::SetSurroundingText(const std::string& text, |
- uint32 cursor_pos, |
- uint32 anchor_pos, |
- uint32 offset_pos) { |
+ uint32_t cursor_pos, |
+ uint32_t anchor_pos, |
+ uint32_t offset_pos) { |
if (!CheckProfile()) |
return; |
observer_->OnSurroundingTextChanged( |