OLD | NEW |
1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "gfx/native_widget_types.h" | |
14 #include "third_party/npapi/bindings/npapi.h" | 13 #include "third_party/npapi/bindings/npapi.h" |
15 #include "third_party/npapi/bindings/npapi_extensions.h" | 14 #include "third_party/npapi/bindings/npapi_extensions.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h" |
| 16 #include "ui/gfx/native_widget_types.h" |
17 #include "webkit/plugins/npapi/webplugin_2d_device_delegate.h" | 17 #include "webkit/plugins/npapi/webplugin_2d_device_delegate.h" |
18 #include "webkit/plugins/npapi/webplugin_3d_device_delegate.h" | 18 #include "webkit/plugins/npapi/webplugin_3d_device_delegate.h" |
19 #include "webkit/plugins/npapi/webplugin_audio_device_delegate.h" | 19 #include "webkit/plugins/npapi/webplugin_audio_device_delegate.h" |
20 #include "webkit/plugins/npapi/webplugin_file_delegate.h" | 20 #include "webkit/plugins/npapi/webplugin_file_delegate.h" |
21 #include "webkit/plugins/npapi/webplugin_print_delegate.h" | 21 #include "webkit/plugins/npapi/webplugin_print_delegate.h" |
22 | 22 |
23 class FilePath; | 23 class FilePath; |
24 class GURL; | 24 class GURL; |
25 struct NPObject; | 25 struct NPObject; |
26 | 26 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Gets the selected text, if any. | 159 // Gets the selected text, if any. |
160 virtual bool HasSelection() const; | 160 virtual bool HasSelection() const; |
161 virtual string16 GetSelectionAsText() const; | 161 virtual string16 GetSelectionAsText() const; |
162 virtual string16 GetSelectionAsMarkup() const; | 162 virtual string16 GetSelectionAsMarkup() const; |
163 }; | 163 }; |
164 | 164 |
165 } // namespace npapi | 165 } // namespace npapi |
166 } // namespace webkit | 166 } // namespace webkit |
167 | 167 |
168 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 168 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
OLD | NEW |