| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_DOM_UI_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "chrome/browser/dom_ui/dom_ui.h" | 11 #include "chrome/browser/dom_ui/dom_ui.h" |
| 12 #include "chrome/browser/extensions/extension_bookmark_manager_api.h" | 12 #include "chrome/browser/extensions/extension_bookmark_manager_api.h" |
| 13 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 13 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| 14 #include "chrome/browser/extensions/extension_popup_host.h" | 14 #include "chrome/browser/extensions/extension_popup_host.h" |
| 15 #include "chrome/common/extensions/extension.h" | 15 #include "chrome/common/extensions/extension.h" |
| 16 | 16 |
| 17 class ListValue; | 17 class ListValue; |
| 18 class PrefService; | 18 class PrefService; |
| 19 class RefCountedMemory; |
| 19 class RenderViewHost; | 20 class RenderViewHost; |
| 20 class TabContents; | 21 class TabContents; |
| 21 | 22 |
| 22 // This class implements DOMUI for extensions and allows extensions to put UI in | 23 // This class implements DOMUI for extensions and allows extensions to put UI in |
| 23 // the main tab contents area. | 24 // the main tab contents area. |
| 24 class ExtensionDOMUI | 25 class ExtensionDOMUI |
| 25 : public DOMUI, | 26 : public DOMUI, |
| 26 public ExtensionPopupHost::PopupDelegate, | 27 public ExtensionPopupHost::PopupDelegate, |
| 27 public ExtensionFunctionDispatcher::Delegate { | 28 public ExtensionFunctionDispatcher::Delegate { |
| 28 public: | 29 public: |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 89 |
| 89 void ResetExtensionBookmarkManagerEventRouter(); | 90 void ResetExtensionBookmarkManagerEventRouter(); |
| 90 | 91 |
| 91 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 92 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 92 | 93 |
| 93 scoped_ptr<ExtensionBookmarkManagerEventRouter> | 94 scoped_ptr<ExtensionBookmarkManagerEventRouter> |
| 94 extension_bookmark_manager_event_router_; | 95 extension_bookmark_manager_event_router_; |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ | 98 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ |
| OLD | NEW |