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 "base/task.h" | 17 #include "base/task.h" |
18 #include "chrome/renderer/pepper_devices.h" | 18 #include "chrome/renderer/pepper_devices.h" |
19 #include "chrome/renderer/command_buffer_proxy.h" | 19 #include "chrome/renderer/command_buffer_proxy.h" |
20 #include "gfx/native_widget_types.h" | |
21 #include "gfx/rect.h" | |
22 #include "third_party/npapi/bindings/npapi.h" | 20 #include "third_party/npapi/bindings/npapi.h" |
23 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" |
| 23 #include "ui/gfx/native_widget_types.h" |
| 24 #include "ui/gfx/rect.h" |
25 #include "webkit/plugins/npapi/webplugin_delegate.h" | 25 #include "webkit/plugins/npapi/webplugin_delegate.h" |
26 | 26 |
27 class FilePath; | 27 class FilePath; |
28 class RenderView; | 28 class RenderView; |
29 class WebCursor; | 29 class WebCursor; |
30 class WebPluginDelegateProxy; | 30 class WebPluginDelegateProxy; |
31 | 31 |
32 namespace webkit { | 32 namespace webkit { |
33 namespace npapi { | 33 namespace npapi { |
34 class PluginInstance; | 34 class PluginInstance; |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 // pointer to the callback specified by the plugin. Will be NULL otherwise. | 338 // pointer to the callback specified by the plugin. Will be NULL otherwise. |
339 NPChooseFileCallback current_choose_file_callback_; | 339 NPChooseFileCallback current_choose_file_callback_; |
340 void* current_choose_file_user_data_; | 340 void* current_choose_file_user_data_; |
341 | 341 |
342 scoped_ptr<WebKit::WebCursorInfo> cursor_; | 342 scoped_ptr<WebKit::WebCursorInfo> cursor_; |
343 | 343 |
344 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); | 344 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); |
345 }; | 345 }; |
346 | 346 |
347 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 347 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
OLD | NEW |