OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/browser/web_ui.h" | 14 #include "content/public/browser/web_ui.h" |
15 | 15 |
16 class GURL; | |
17 class WebUIBrowserTest; | 16 class WebUIBrowserTest; |
18 | 17 |
19 namespace base { | 18 namespace base { |
20 class DictionaryValue; | |
21 class ListValue; | 19 class ListValue; |
22 class Value; | 20 class Value; |
23 } | 21 } |
24 | 22 |
25 namespace content { | 23 namespace content { |
26 | 24 |
27 class WebUI; | 25 class WebUI; |
28 class WebUIImpl; | 26 class WebUIImpl; |
29 | 27 |
30 // Messages sent from the DOM are forwarded via the WebUI to handler | 28 // Messages sent from the DOM are forwarded via the WebUI to handler |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 124 |
127 // True if the page is for JavaScript calls from this handler. | 125 // True if the page is for JavaScript calls from this handler. |
128 bool javascript_allowed_; | 126 bool javascript_allowed_; |
129 | 127 |
130 WebUI* web_ui_; | 128 WebUI* web_ui_; |
131 }; | 129 }; |
132 | 130 |
133 } // namespace content | 131 } // namespace content |
134 | 132 |
135 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ | 133 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ |
OLD | NEW |