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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_engine.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <string> 11 #include <string>
9 #include <vector> 12 #include <vector>
10 13
11 #include "ui/base/ime/chromeos/input_method_descriptor.h" 14 #include "ui/base/ime/chromeos/input_method_descriptor.h"
12 #include "ui/base/ime/ime_engine_handler_interface.h" 15 #include "ui/base/ime/ime_engine_handler_interface.h"
13 16
14 namespace ui { 17 namespace ui {
15 class IMEEngineHandlerInterface; 18 class IMEEngineHandlerInterface;
16 class KeyEvent; 19 class KeyEvent;
17 20
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void FocusIn( 73 void FocusIn(
71 const IMEEngineHandlerInterface::InputContext& input_context) override; 74 const IMEEngineHandlerInterface::InputContext& input_context) override;
72 void FocusOut() override; 75 void FocusOut() override;
73 void Enable(const std::string& component_id) override; 76 void Enable(const std::string& component_id) override;
74 void Disable() override; 77 void Disable() override;
75 void PropertyActivate(const std::string& property_name) override; 78 void PropertyActivate(const std::string& property_name) override;
76 void Reset() override; 79 void Reset() override;
77 bool IsInterestedInKeyEvent() const override; 80 bool IsInterestedInKeyEvent() const override;
78 void ProcessKeyEvent(const ui::KeyEvent& key_event, 81 void ProcessKeyEvent(const ui::KeyEvent& key_event,
79 KeyEventDoneCallback& callback) override; 82 KeyEventDoneCallback& callback) override;
80 void CandidateClicked(uint32 index) override; 83 void CandidateClicked(uint32_t index) override;
81 void SetSurroundingText(const std::string& text, 84 void SetSurroundingText(const std::string& text,
82 uint32 cursor_pos, 85 uint32_t cursor_pos,
83 uint32 anchor_pos, 86 uint32_t anchor_pos,
84 uint32 offset_pos) override; 87 uint32_t offset_pos) override;
85 void SetCompositionBounds(const std::vector<gfx::Rect>& bounds) override; 88 void SetCompositionBounds(const std::vector<gfx::Rect>& bounds) override;
86 void HideInputView() override; 89 void HideInputView() override;
87 90
88 std::string last_activated_property() const { 91 std::string last_activated_property() const {
89 return last_activated_property_; 92 return last_activated_property_;
90 } 93 }
91 94
92 private: 95 private:
93 std::string active_component_id_; 96 std::string active_component_id_;
94 97
95 // The current candidate window property. 98 // The current candidate window property.
96 CandidateWindowProperty candidate_window_property_; 99 CandidateWindowProperty candidate_window_property_;
97 100
98 std::string last_activated_property_; 101 std::string last_activated_property_;
99 }; 102 };
100 103
101 } // namespace chromeos 104 } // namespace chromeos
102 105
103 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698