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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 7 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 // BrowserContextKeyedAPI implementation. 180 // BrowserContextKeyedAPI implementation.
181 static BrowserContextKeyedAPIFactory<InputImeAPI>* GetFactoryInstance(); 181 static BrowserContextKeyedAPIFactory<InputImeAPI>* GetFactoryInstance();
182 void Shutdown() override; 182 void Shutdown() override;
183 183
184 // ExtensionRegistryObserver implementation. 184 // ExtensionRegistryObserver implementation.
185 void OnExtensionLoaded(content::BrowserContext* browser_context, 185 void OnExtensionLoaded(content::BrowserContext* browser_context,
186 const Extension* extension) override; 186 const Extension* extension) override;
187 void OnExtensionUnloaded(content::BrowserContext* browser_context, 187 void OnExtensionUnloaded(content::BrowserContext* browser_context,
188 const Extension* extension, 188 const Extension* extension,
189 UnloadedExtensionInfo::Reason reason) override; 189 UnloadedExtensionReason reason) override;
190 190
191 // EventRouter::Observer implementation. 191 // EventRouter::Observer implementation.
192 void OnListenerAdded(const EventListenerInfo& details) override; 192 void OnListenerAdded(const EventListenerInfo& details) override;
193 193
194 // content::NotificationObserver: 194 // content::NotificationObserver:
195 void Observe(int type, 195 void Observe(int type,
196 const content::NotificationSource& source, 196 const content::NotificationSource& source,
197 const content::NotificationDetails& details) override; 197 const content::NotificationDetails& details) override;
198 198
199 private: 199 private:
(...skipping 13 matching lines...) Expand all
213 extension_registry_observer_; 213 extension_registry_observer_;
214 214
215 content::NotificationRegistrar registrar_; 215 content::NotificationRegistrar registrar_;
216 }; 216 };
217 217
218 InputImeEventRouter* GetInputImeEventRouter(Profile* profile); 218 InputImeEventRouter* GetInputImeEventRouter(Profile* profile);
219 219
220 } // namespace extensions 220 } // namespace extensions
221 221
222 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_ 222 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698