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

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

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously 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) 2009 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_registrar.h" 10 #include "chrome/common/notification_registrar.h"
11 11
12 namespace gfx {
13 class Point;
14 } // namespace gfx
15
16 class Profile; 12 class Profile;
17 class ExtensionPopup; 13 class ExtensionPopup;
18 14
19 // This extension function shows a pop-up extension view. It is asynchronous 15 // This extension function shows a pop-up extension view. It is asynchronous
20 // because the callback must be invoked only after the associated render 16 // because the callback must be invoked only after the associated render
21 // process/view has been created and fully initialized. 17 // process/view has been created and fully initialized.
22 class PopupShowFunction : public AsyncExtensionFunction, 18 class PopupShowFunction : public AsyncExtensionFunction,
23 public NotificationObserver { 19 public NotificationObserver {
24 public: 20 public:
25 PopupShowFunction(); 21 PopupShowFunction();
(...skipping 20 matching lines...) Expand all
46 // Event router class for events related to the chrome.popup.* set of APIs. 42 // Event router class for events related to the chrome.popup.* set of APIs.
47 class PopupEventRouter { 43 class PopupEventRouter {
48 public: 44 public:
49 static void OnPopupClosed(Profile* profile, 45 static void OnPopupClosed(Profile* profile,
50 int routing_id); 46 int routing_id);
51 private: 47 private:
52 DISALLOW_COPY_AND_ASSIGN(PopupEventRouter); 48 DISALLOW_COPY_AND_ASSIGN(PopupEventRouter);
53 }; 49 };
54 50
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_ 51 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_POPUP_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698