| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEB_UI_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_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/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/favicon_service.h" | 14 #include "chrome/browser/favicon_service.h" |
| 15 #include "chrome/browser/webui/web_ui.h" | |
| 16 #include "chrome/common/extensions/extension.h" | 15 #include "chrome/common/extensions/extension.h" |
| 16 #include "content/browser/webui/web_ui.h" |
| 17 | 17 |
| 18 class GURL; | 18 class GURL; |
| 19 class ListValue; | 19 class ListValue; |
| 20 class PrefService; | 20 class PrefService; |
| 21 class Profile; | 21 class Profile; |
| 22 class RenderViewHost; | 22 class RenderViewHost; |
| 23 class TabContents; | 23 class TabContents; |
| 24 struct ViewHostMsg_DomMessage_Params; | 24 struct ViewHostMsg_DomMessage_Params; |
| 25 | 25 |
| 26 // This class implements WebUI for extensions and allows extensions to put UI in | 26 // This class implements WebUI for extensions and allows extensions to put UI in |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // TODO(aa): This seems out of place. Why is it not with the event routers for | 97 // TODO(aa): This seems out of place. Why is it not with the event routers for |
| 98 // the other extension APIs? | 98 // the other extension APIs? |
| 99 scoped_ptr<ExtensionBookmarkManagerEventRouter> | 99 scoped_ptr<ExtensionBookmarkManagerEventRouter> |
| 100 extension_bookmark_manager_event_router_; | 100 extension_bookmark_manager_event_router_; |
| 101 | 101 |
| 102 // The URL this WebUI was created for. | 102 // The URL this WebUI was created for. |
| 103 GURL url_; | 103 GURL url_; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ | 106 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ |
| OLD | NEW |