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

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 9045007: Allow plugins to participate in Chrome context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 #include "ppapi/c/ppp_messaging.h" 31 #include "ppapi/c/ppp_messaging.h"
32 #include "ppapi/c/ppp_mouse_lock.h" 32 #include "ppapi/c/ppp_mouse_lock.h"
33 #include "ppapi/c/private/ppp_instance_private.h" 33 #include "ppapi/c/private/ppp_instance_private.h"
34 #include "ppapi/shared_impl/function_group_base.h" 34 #include "ppapi/shared_impl/function_group_base.h"
35 #include "ppapi/shared_impl/ppb_instance_shared.h" 35 #include "ppapi/shared_impl/ppb_instance_shared.h"
36 #include "ppapi/shared_impl/ppb_view_shared.h" 36 #include "ppapi/shared_impl/ppb_view_shared.h"
37 #include "ppapi/thunk/ppb_instance_api.h" 37 #include "ppapi/thunk/ppb_instance_api.h"
38 #include "third_party/skia/include/core/SkRefCnt.h" 38 #include "third_party/skia/include/core/SkRefCnt.h"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
41 #include "ui/base/ime/text_input_type.h" 42 #include "ui/base/ime/text_input_type.h"
42 #include "ui/gfx/rect.h" 43 #include "ui/gfx/rect.h"
43 #include "webkit/plugins/ppapi/plugin_delegate.h" 44 #include "webkit/plugins/ppapi/plugin_delegate.h"
44 #include "webkit/plugins/ppapi/ppp_pdf.h" 45 #include "webkit/plugins/ppapi/ppp_pdf.h"
45 #include "webkit/plugins/webkit_plugins_export.h" 46 #include "webkit/plugins/webkit_plugins_export.h"
46 47
47 struct PP_Point; 48 struct PP_Point;
48 49
49 class SkBitmap; 50 class SkBitmap;
50 class TransportDIB; 51 class TransportDIB;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 int identifier); 221 int identifier);
221 void SelectFindResult(bool forward); 222 void SelectFindResult(bool forward);
222 void StopFind(); 223 void StopFind();
223 224
224 bool SupportsPrintInterface(); 225 bool SupportsPrintInterface();
225 bool IsPrintScalingDisabled(); 226 bool IsPrintScalingDisabled();
226 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); 227 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi);
227 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); 228 bool PrintPage(int page_number, WebKit::WebCanvas* canvas);
228 void PrintEnd(); 229 void PrintEnd();
229 230
231 bool CanRotateView();
232 void RotateView(WebKit::WebPlugin::RotationType type);
233
230 void Graphics3DContextLost(); 234 void Graphics3DContextLost();
231 235
232 // There are 2 implementations of the fullscreen interface 236 // There are 2 implementations of the fullscreen interface
233 // PPB_FlashFullscreen is used by Pepper Flash. 237 // PPB_FlashFullscreen is used by Pepper Flash.
234 // PPB_Fullscreen is intended for other applications including NaCl. 238 // PPB_Fullscreen is intended for other applications including NaCl.
235 // The two interface are mutually exclusive. 239 // The two interface are mutually exclusive.
236 240
237 // Implementation of PPB_FlashFullscreen. 241 // Implementation of PPB_FlashFullscreen.
238 242
239 // Because going to fullscreen is asynchronous (but going out is not), there 243 // Because going to fullscreen is asynchronous (but going out is not), there
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 615
612 PP_CompletionCallback lock_mouse_callback_; 616 PP_CompletionCallback lock_mouse_callback_;
613 617
614 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 618 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
615 }; 619 };
616 620
617 } // namespace ppapi 621 } // namespace ppapi
618 } // namespace webkit 622 } // namespace webkit
619 623
620 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 624 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698