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

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

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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
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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 double maximium_factor) OVERRIDE; 375 double maximium_factor) OVERRIDE;
376 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 376 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
377 virtual PP_Bool SetCursor(PP_Instance instance, 377 virtual PP_Bool SetCursor(PP_Instance instance,
378 PP_MouseCursor_Type type, 378 PP_MouseCursor_Type type,
379 PP_Resource image, 379 PP_Resource image,
380 const PP_Point* hot_spot) OVERRIDE; 380 const PP_Point* hot_spot) OVERRIDE;
381 virtual int32_t LockMouse( 381 virtual int32_t LockMouse(
382 PP_Instance instance, 382 PP_Instance instance,
383 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE; 383 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
384 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 384 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
385 virtual PP_Bool GetDefaultPrintSettings( 385 virtual int32_t GetDefaultPrintSettings(
386 PP_Instance instance, 386 PP_Instance instance,
387 PP_PrintSettings_Dev* print_settings) OVERRIDE; 387 PP_PrintSettings_Dev* print_settings,
388 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
388 virtual void SetTextInputType(PP_Instance instance, 389 virtual void SetTextInputType(PP_Instance instance,
389 PP_TextInput_Type type) OVERRIDE; 390 PP_TextInput_Type type) OVERRIDE;
390 virtual void UpdateCaretPosition(PP_Instance instance, 391 virtual void UpdateCaretPosition(PP_Instance instance,
391 const PP_Rect& caret, 392 const PP_Rect& caret,
392 const PP_Rect& bounding_box) OVERRIDE; 393 const PP_Rect& bounding_box) OVERRIDE;
393 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 394 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
394 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; 395 virtual void SelectionChanged(PP_Instance instance) OVERRIDE;
395 virtual void UpdateSurroundingText(PP_Instance instance, 396 virtual void UpdateSurroundingText(PP_Instance instance,
396 const char* text, 397 const char* text,
397 uint32_t caret, 398 uint32_t caret,
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 // the pointer so we can re-send it later if we are reset to talk to NaCl. 677 // the pointer so we can re-send it later if we are reset to talk to NaCl.
677 scoped_refptr<PPB_URLLoader_Impl> document_loader_; 678 scoped_refptr<PPB_URLLoader_Impl> document_loader_;
678 679
679 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 680 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
680 }; 681 };
681 682
682 } // namespace ppapi 683 } // namespace ppapi
683 } // namespace webkit 684 } // namespace webkit
684 685
685 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 686 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698