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 CONTENT_BROWSER_WEBUI_WEB_UI_H_ | 5 #ifndef CONTENT_BROWSER_WEBUI_WEB_UI_H_ |
6 #define CONTENT_BROWSER_WEBUI_WEB_UI_H_ | 6 #define CONTENT_BROWSER_WEBUI_WEB_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback_old.h" | 13 #include "base/callback_old.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "content/common/page_transition_types.h" | 16 #include "content/common/page_transition_types.h" |
17 #include "ipc/ipc_channel.h" | 17 #include "ipc/ipc_channel.h" |
18 | 18 |
19 class WebUIMessageHandler; | |
20 class GURL; | 19 class GURL; |
21 class Profile; | 20 class Profile; |
22 class RenderViewHost; | 21 class RenderViewHost; |
23 class TabContents; | 22 class TabContents; |
| 23 class WebUIMessageHandler; |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class DictionaryValue; | 26 class DictionaryValue; |
27 class ListValue; | 27 class ListValue; |
28 class Value; | 28 class Value; |
29 } | 29 } |
30 | 30 |
31 // A WebUI sets up the datasources and message handlers for a given HTML-based | 31 // A WebUI sets up the datasources and message handlers for a given HTML-based |
32 // UI. | 32 // UI. |
33 // | 33 // |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // Extract a string value from a list Value. | 234 // Extract a string value from a list Value. |
235 string16 ExtractStringValue(const base::ListValue* value); | 235 string16 ExtractStringValue(const base::ListValue* value); |
236 | 236 |
237 WebUI* web_ui_; | 237 WebUI* web_ui_; |
238 | 238 |
239 private: | 239 private: |
240 DISALLOW_COPY_AND_ASSIGN(WebUIMessageHandler); | 240 DISALLOW_COPY_AND_ASSIGN(WebUIMessageHandler); |
241 }; | 241 }; |
242 | 242 |
243 #endif // CONTENT_BROWSER_WEBUI_WEB_UI_H_ | 243 #endif // CONTENT_BROWSER_WEBUI_WEB_UI_H_ |
OLD | NEW |