Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: webkit/glue/plugins/webplugin_delegate.h

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_GLUE_WEBPLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_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" 13 #include "gfx/native_widget_types.h"
14 #include "third_party/npapi/bindings/npapi.h" 14 #include "third_party/npapi/bindings/npapi.h"
15 #include "third_party/npapi/bindings/npapi_extensions.h" 15 #include "third_party/npapi/bindings/npapi_extensions.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h"
17 #include "webkit/plugins/npapi/webplugin_2d_device_delegate.h" 17 #include "webkit/glue/plugins/webplugin_2d_device_delegate.h"
18 #include "webkit/plugins/npapi/webplugin_3d_device_delegate.h" 18 #include "webkit/glue/plugins/webplugin_3d_device_delegate.h"
19 #include "webkit/plugins/npapi/webplugin_audio_device_delegate.h" 19 #include "webkit/glue/plugins/webplugin_audio_device_delegate.h"
20 #include "webkit/plugins/npapi/webplugin_file_delegate.h" 20 #include "webkit/glue/plugins/webplugin_file_delegate.h"
21 #include "webkit/plugins/npapi/webplugin_print_delegate.h" 21 #include "webkit/glue/plugins/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
27 namespace WebKit { 27 namespace WebKit {
28 class WebInputEvent; 28 class WebInputEvent;
29 struct WebCursorInfo; 29 struct WebCursorInfo;
30 } 30 }
31 31
32 namespace gfx { 32 namespace gfx {
33 class Rect; 33 class Rect;
34 } 34 }
35 35
36 namespace webkit { 36 namespace webkit_glue {
37 namespace npapi {
38 37
39 class WebPlugin; 38 class WebPlugin;
40 class WebPluginResourceClient; 39 class WebPluginResourceClient;
41 40
42 // This is the interface that a plugin implementation needs to provide. 41 // This is the interface that a plugin implementation needs to provide.
43 class WebPluginDelegate : public WebPlugin2DDeviceDelegate, 42 class WebPluginDelegate : public WebPlugin2DDeviceDelegate,
44 public WebPlugin3DDeviceDelegate, 43 public WebPlugin3DDeviceDelegate,
45 public WebPluginAudioDeviceDelegate, 44 public WebPluginAudioDeviceDelegate,
46 public WebPluginPrintDelegate, 45 public WebPluginPrintDelegate,
47 public WebPluginFileDelegate { 46 public WebPluginFileDelegate {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 154
156 // Used for zooming of full page plugins. 0 means reset, while -1 means zoom 155 // Used for zooming of full page plugins. 0 means reset, while -1 means zoom
157 // out and +1 means zoom in. 156 // out and +1 means zoom in.
158 virtual void SetZoomFactor(float scale, bool text_only) {} 157 virtual void SetZoomFactor(float scale, bool text_only) {}
159 // Gets the selected text, if any. 158 // Gets the selected text, if any.
160 virtual bool HasSelection() const; 159 virtual bool HasSelection() const;
161 virtual string16 GetSelectionAsText() const; 160 virtual string16 GetSelectionAsText() const;
162 virtual string16 GetSelectionAsMarkup() const; 161 virtual string16 GetSelectionAsMarkup() const;
163 }; 162 };
164 163
165 } // namespace npapi 164 } // namespace webkit_glue
166 } // namespace webkit
167 165
168 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ 166 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_audio_device_delegate.cc ('k') | webkit/glue/plugins/webplugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698