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_FUNCTION_DISPATCHER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "gfx/native_widget_types.h" | |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "ui/gfx/native_widget_types.h" |
15 | 15 |
16 class Browser; | 16 class Browser; |
17 class Extension; | 17 class Extension; |
18 class ExtensionFunction; | 18 class ExtensionFunction; |
19 class ListValue; | 19 class ListValue; |
20 class Profile; | 20 class Profile; |
21 class RenderViewHost; | 21 class RenderViewHost; |
22 class TabContents; | 22 class TabContents; |
23 struct ViewHostMsg_DomMessage_Params; | 23 struct ViewHostMsg_DomMessage_Params; |
24 | 24 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // AutomationExtensionFunction requires access to the RenderViewHost | 146 // AutomationExtensionFunction requires access to the RenderViewHost |
147 // associated with us. We make it a friend rather than exposing the | 147 // associated with us. We make it a friend rather than exposing the |
148 // RenderViewHost as a public method as we wouldn't want everyone to | 148 // RenderViewHost as a public method as we wouldn't want everyone to |
149 // start assuming a 1:1 relationship between us and RenderViewHost, | 149 // start assuming a 1:1 relationship between us and RenderViewHost, |
150 // whereas AutomationExtensionFunction is by necessity "tight" with us. | 150 // whereas AutomationExtensionFunction is by necessity "tight" with us. |
151 friend class AutomationExtensionFunction; | 151 friend class AutomationExtensionFunction; |
152 }; | 152 }; |
153 | 153 |
154 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 154 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
OLD | NEW |