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 CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/id_map.h" | 14 #include "base/id_map.h" |
15 #include "base/ref_counted.h" | 15 #include "base/ref_counted.h" |
16 #include "base/weak_ptr.h" | 16 #include "base/weak_ptr.h" |
17 #include "chrome/renderer/pepper_devices.h" | 17 #include "chrome/renderer/pepper_devices.h" |
18 #include "chrome/renderer/command_buffer_proxy.h" | 18 #include "chrome/renderer/command_buffer_proxy.h" |
19 #include "gfx/native_widget_types.h" | 19 #include "gfx/native_widget_types.h" |
20 #include "gfx/rect.h" | 20 #include "gfx/rect.h" |
21 #include "third_party/npapi/bindings/npapi.h" | 21 #include "third_party/npapi/bindings/npapi.h" |
| 22 #include "third_party/skia/include/core/SkBitmap.h" |
22 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" |
23 #include "webkit/glue/plugins/webplugin_delegate.h" | 24 #include "webkit/glue/plugins/webplugin_delegate.h" |
24 | 25 |
25 class FilePath; | 26 class FilePath; |
26 class RenderView; | 27 class RenderView; |
27 class WebCursor; | 28 class WebCursor; |
28 class WebPluginDelegateProxy; | 29 class WebPluginDelegateProxy; |
29 | 30 |
30 namespace NPAPI { | 31 namespace NPAPI { |
31 class PluginInstance; | 32 class PluginInstance; |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 // pointer to the callback specified by the plugin. Will be NULL otherwise. | 335 // pointer to the callback specified by the plugin. Will be NULL otherwise. |
335 NPChooseFileCallback current_choose_file_callback_; | 336 NPChooseFileCallback current_choose_file_callback_; |
336 void* current_choose_file_user_data_; | 337 void* current_choose_file_user_data_; |
337 | 338 |
338 scoped_ptr<WebKit::WebCursorInfo> cursor_; | 339 scoped_ptr<WebKit::WebCursorInfo> cursor_; |
339 | 340 |
340 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); | 341 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); |
341 }; | 342 }; |
342 | 343 |
343 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 344 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
OLD | NEW |