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" | |
23 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" |
24 #include "webkit/glue/plugins/webplugin_delegate.h" | 23 #include "webkit/glue/plugins/webplugin_delegate.h" |
25 | 24 |
26 class FilePath; | 25 class FilePath; |
27 class RenderView; | 26 class RenderView; |
28 class WebCursor; | 27 class WebCursor; |
29 class WebPluginDelegateProxy; | 28 class WebPluginDelegateProxy; |
30 | 29 |
31 namespace NPAPI { | 30 namespace NPAPI { |
32 class PluginInstance; | 31 class PluginInstance; |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 // pointer to the callback specified by the plugin. Will be NULL otherwise. | 334 // pointer to the callback specified by the plugin. Will be NULL otherwise. |
336 NPChooseFileCallback current_choose_file_callback_; | 335 NPChooseFileCallback current_choose_file_callback_; |
337 void* current_choose_file_user_data_; | 336 void* current_choose_file_user_data_; |
338 | 337 |
339 scoped_ptr<WebKit::WebCursorInfo> cursor_; | 338 scoped_ptr<WebKit::WebCursorInfo> cursor_; |
340 | 339 |
341 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); | 340 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); |
342 }; | 341 }; |
343 | 342 |
344 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 343 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
OLD | NEW |