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

Side by Side Diff: chrome/browser/extensions/api/input_ime/input_ime_api.h

Issue 2926553004: Remove trailing semicolon at the end of a method definition (Closed)
Patch Set: rebase Created 3 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void OnReset(const std::string& component_id) override; 55 void OnReset(const std::string& component_id) override;
56 void OnDeactivated(const std::string& component_id) override; 56 void OnDeactivated(const std::string& component_id) override;
57 void OnCompositionBoundsChanged( 57 void OnCompositionBoundsChanged(
58 const std::vector<gfx::Rect>& bounds) override; 58 const std::vector<gfx::Rect>& bounds) override;
59 bool IsInterestedInKeyEvent() const override; 59 bool IsInterestedInKeyEvent() const override;
60 void OnSurroundingTextChanged(const std::string& component_id, 60 void OnSurroundingTextChanged(const std::string& component_id,
61 const std::string& text, 61 const std::string& text,
62 int cursor_pos, 62 int cursor_pos,
63 int anchor_pos, 63 int anchor_pos,
64 int offset_pos) override; 64 int offset_pos) override;
65 void OnRequestEngineSwitch() override {}; 65 void OnRequestEngineSwitch() override {}
66 66
67 protected: 67 protected:
68 // Helper function used to forward the given event to the |profile_|'s event 68 // Helper function used to forward the given event to the |profile_|'s event
69 // router, which dipatches the event the extension with |extension_id_|. 69 // router, which dipatches the event the extension with |extension_id_|.
70 virtual void DispatchEventToExtension( 70 virtual void DispatchEventToExtension(
71 extensions::events::HistogramValue histogram_value, 71 extensions::events::HistogramValue histogram_value,
72 const std::string& event_name, 72 const std::string& event_name,
73 std::unique_ptr<base::ListValue> args) = 0; 73 std::unique_ptr<base::ListValue> args) = 0;
74 74
75 // Returns the type of the current screen. 75 // Returns the type of the current screen.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 extension_registry_observer_; 210 extension_registry_observer_;
211 211
212 content::NotificationRegistrar registrar_; 212 content::NotificationRegistrar registrar_;
213 }; 213 };
214 214
215 InputImeEventRouter* GetInputImeEventRouter(Profile* profile); 215 InputImeEventRouter* GetInputImeEventRouter(Profile* profile);
216 216
217 } // namespace extensions 217 } // namespace extensions
218 218
219 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_ 219 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698