| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "chrome/browser/dom_ui/dom_ui.h" | 12 #include "chrome/browser/dom_ui/dom_ui.h" |
| 13 #include "chrome/browser/extensions/extension_bookmark_manager_api.h" | 13 #include "chrome/browser/extensions/extension_bookmark_manager_api.h" |
| 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| 15 #include "chrome/browser/favicon_service.h" | 15 #include "chrome/browser/favicon_service.h" |
| 16 #include "chrome/common/extensions/extension.h" | 16 #include "chrome/common/extensions/extension.h" |
| 17 | 17 |
| 18 class ListValue; | 18 class ListValue; |
| 19 class PrefService; | 19 class PrefService; |
| 20 class Profile; | 20 class Profile; |
| 21 class RefCountedMemory; | |
| 22 class RenderViewHost; | 21 class RenderViewHost; |
| 23 class TabContents; | 22 class TabContents; |
| 24 | 23 |
| 25 // This class implements DOMUI for extensions and allows extensions to put UI in | 24 // This class implements DOMUI for extensions and allows extensions to put UI in |
| 26 // the main tab contents area. | 25 // the main tab contents area. |
| 27 class ExtensionDOMUI | 26 class ExtensionDOMUI |
| 28 : public DOMUI, | 27 : public DOMUI, |
| 29 public ExtensionFunctionDispatcher::Delegate { | 28 public ExtensionFunctionDispatcher::Delegate { |
| 30 public: | 29 public: |
| 31 static const wchar_t kExtensionURLOverrides[]; | 30 static const wchar_t kExtensionURLOverrides[]; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 93 |
| 95 void ResetExtensionBookmarkManagerEventRouter(); | 94 void ResetExtensionBookmarkManagerEventRouter(); |
| 96 | 95 |
| 97 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 96 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 98 | 97 |
| 99 scoped_ptr<ExtensionBookmarkManagerEventRouter> | 98 scoped_ptr<ExtensionBookmarkManagerEventRouter> |
| 100 extension_bookmark_manager_event_router_; | 99 extension_bookmark_manager_event_router_; |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ | 102 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ |
| OLD | NEW |