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

Side by Side Diff: chrome/browser/chromeos/input_method/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 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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <map> 11 #include <map>
9 #include <string> 12 #include <string>
10 #include <vector> 13 #include <vector>
11 #include "base/time/time.h" 14 #include "base/time/time.h"
12 #include "ui/base/ime/chromeos/input_method_descriptor.h" 15 #include "ui/base/ime/chromeos/input_method_descriptor.h"
13 #include "ui/base/ime/ime_engine_handler_interface.h" 16 #include "ui/base/ime/ime_engine_handler_interface.h"
14 #include "ui/base/ime/ime_engine_observer.h" 17 #include "ui/base/ime/ime_engine_observer.h"
15 #include "url/gurl.h" 18 #include "url/gurl.h"
16 19
17 class Profile; 20 class Profile;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // IMEEngineHandlerInterface overrides. 79 // IMEEngineHandlerInterface overrides.
77 void FocusIn(const ui::IMEEngineHandlerInterface::InputContext& input_context) 80 void FocusIn(const ui::IMEEngineHandlerInterface::InputContext& input_context)
78 override; 81 override;
79 void FocusOut() override; 82 void FocusOut() override;
80 void Enable(const std::string& component_id) override; 83 void Enable(const std::string& component_id) override;
81 void Disable() override; 84 void Disable() override;
82 void PropertyActivate(const std::string& property_name) override; 85 void PropertyActivate(const std::string& property_name) override;
83 void Reset() override; 86 void Reset() override;
84 void ProcessKeyEvent(const ui::KeyEvent& key_event, 87 void ProcessKeyEvent(const ui::KeyEvent& key_event,
85 KeyEventDoneCallback& callback) override; 88 KeyEventDoneCallback& callback) override;
86 void CandidateClicked(uint32 index) override; 89 void CandidateClicked(uint32_t index) override;
87 void SetSurroundingText(const std::string& text, 90 void SetSurroundingText(const std::string& text,
88 uint32 cursor_pos, 91 uint32_t cursor_pos,
89 uint32 anchor_pos, 92 uint32_t anchor_pos,
90 uint32 offset_pos) override; 93 uint32_t offset_pos) override;
91 void HideInputView() override; 94 void HideInputView() override;
92 void SetCompositionBounds(const std::vector<gfx::Rect>& bounds) override; 95 void SetCompositionBounds(const std::vector<gfx::Rect>& bounds) override;
93 96
94 int GetCotextIdForTesting() { return context_id_; } 97 int GetCotextIdForTesting() { return context_id_; }
95 98
96 bool IsInterestedInKeyEvent() const override; 99 bool IsInterestedInKeyEvent() const override;
97 100
98 private: 101 private:
99 bool CheckProfile() const; 102 bool CheckProfile() const;
100 // Converts MenuItem to InputMethodMenuItem. 103 // Converts MenuItem to InputMethodMenuItem.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Used with SendKeyEvents and ProcessKeyEvent to check if the key event 146 // Used with SendKeyEvents and ProcessKeyEvent to check if the key event
144 // sent to ProcessKeyEvent is sent by SendKeyEvents. 147 // sent to ProcessKeyEvent is sent by SendKeyEvents.
145 const ui::KeyEvent* sent_key_event_; 148 const ui::KeyEvent* sent_key_event_;
146 149
147 Profile* profile_; 150 Profile* profile_;
148 }; 151 };
149 152
150 } // namespace chromeos 153 } // namespace chromeos
151 154
152 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 155 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698