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

Side by Side Diff: chrome/browser/extensions/extension_popup_api.h

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_EXTENSION_POPUP_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 #include "chrome/common/notification_observer.h"
10 #include "chrome/common/notification_registrar.h" 11 #include "chrome/common/notification_registrar.h"
11 12
12 class Profile; 13 class Profile;
13 class ExtensionPopup; 14 class ExtensionPopup;
14 15
15 // This extension function shows a pop-up extension view. It is asynchronous 16 // This extension function shows a pop-up extension view. It is asynchronous
16 // because the callback must be invoked only after the associated render 17 // because the callback must be invoked only after the associated render
17 // process/view has been created and fully initialized. 18 // process/view has been created and fully initialized.
18 class PopupShowFunction : public AsyncExtensionFunction, 19 class PopupShowFunction : public AsyncExtensionFunction,
19 public NotificationObserver { 20 public NotificationObserver {
(...skipping 22 matching lines...) Expand all
42 // Event router class for events related to the chrome.popup.* set of APIs. 43 // Event router class for events related to the chrome.popup.* set of APIs.
43 class PopupEventRouter { 44 class PopupEventRouter {
44 public: 45 public:
45 static void OnPopupClosed(Profile* profile, 46 static void OnPopupClosed(Profile* profile,
46 int routing_id); 47 int routing_id);
47 private: 48 private:
48 DISALLOW_COPY_AND_ASSIGN(PopupEventRouter); 49 DISALLOW_COPY_AND_ASSIGN(PopupEventRouter);
49 }; 50 };
50 51
51 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_ 52 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.h ('k') | chrome/browser/extensions/extension_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698