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

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

Issue 10826026: Add a printing resource (as a new style resource) to fetch the default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « ppapi/thunk/resource_creation_api.h ('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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 double maximium_factor) OVERRIDE; 403 double maximium_factor) OVERRIDE;
404 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 404 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
405 virtual PP_Bool SetCursor(PP_Instance instance, 405 virtual PP_Bool SetCursor(PP_Instance instance,
406 PP_MouseCursor_Type type, 406 PP_MouseCursor_Type type,
407 PP_Resource image, 407 PP_Resource image,
408 const PP_Point* hot_spot) OVERRIDE; 408 const PP_Point* hot_spot) OVERRIDE;
409 virtual int32_t LockMouse( 409 virtual int32_t LockMouse(
410 PP_Instance instance, 410 PP_Instance instance,
411 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE; 411 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
412 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 412 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
413 virtual PP_Bool GetDefaultPrintSettings(
414 PP_Instance instance,
415 PP_PrintSettings_Dev* print_settings) OVERRIDE;
416 virtual void SetTextInputType(PP_Instance instance, 413 virtual void SetTextInputType(PP_Instance instance,
417 PP_TextInput_Type type) OVERRIDE; 414 PP_TextInput_Type type) OVERRIDE;
418 virtual void UpdateCaretPosition(PP_Instance instance, 415 virtual void UpdateCaretPosition(PP_Instance instance,
419 const PP_Rect& caret, 416 const PP_Rect& caret,
420 const PP_Rect& bounding_box) OVERRIDE; 417 const PP_Rect& bounding_box) OVERRIDE;
421 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 418 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
422 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; 419 virtual void SelectionChanged(PP_Instance instance) OVERRIDE;
423 virtual void UpdateSurroundingText(PP_Instance instance, 420 virtual void UpdateSurroundingText(PP_Instance instance,
424 const char* text, 421 const char* text,
425 uint32_t caret, 422 uint32_t caret,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 typedef std::map<uint32_t, media::Decryptor::DecryptCB> DecryptionCBMap; 757 typedef std::map<uint32_t, media::Decryptor::DecryptCB> DecryptionCBMap;
761 DecryptionCBMap pending_decryption_cbs_; 758 DecryptionCBMap pending_decryption_cbs_;
762 759
763 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 760 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
764 }; 761 };
765 762
766 } // namespace ppapi 763 } // namespace ppapi
767 } // namespace webkit 764 } // namespace webkit
768 765
769 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 766 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/resource_creation_api.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698