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

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

Issue 10544085: Added PPB function to return default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | « webkit/plugins/ppapi/plugin_module.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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 double minimum_factor, 371 double minimum_factor,
372 double maximium_factor) OVERRIDE; 372 double maximium_factor) OVERRIDE;
373 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 373 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
374 virtual PP_Bool SetCursor(PP_Instance instance, 374 virtual PP_Bool SetCursor(PP_Instance instance,
375 PP_MouseCursor_Type type, 375 PP_MouseCursor_Type type,
376 PP_Resource image, 376 PP_Resource image,
377 const PP_Point* hot_spot) OVERRIDE; 377 const PP_Point* hot_spot) OVERRIDE;
378 virtual int32_t LockMouse(PP_Instance instance, 378 virtual int32_t LockMouse(PP_Instance instance,
379 PP_CompletionCallback callback) OVERRIDE; 379 PP_CompletionCallback callback) OVERRIDE;
380 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 380 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
381 virtual PP_Bool GetDefaultPrintSettings(
382 PP_Instance instance,
383 PP_PrintSettings_Dev* print_settings) OVERRIDE;
381 virtual void SetTextInputType(PP_Instance instance, 384 virtual void SetTextInputType(PP_Instance instance,
382 PP_TextInput_Type type) OVERRIDE; 385 PP_TextInput_Type type) OVERRIDE;
383 virtual void UpdateCaretPosition(PP_Instance instance, 386 virtual void UpdateCaretPosition(PP_Instance instance,
384 const PP_Rect& caret, 387 const PP_Rect& caret,
385 const PP_Rect& bounding_box) OVERRIDE; 388 const PP_Rect& bounding_box) OVERRIDE;
386 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 389 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
387 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; 390 virtual void SelectionChanged(PP_Instance instance) OVERRIDE;
388 virtual void UpdateSurroundingText(PP_Instance instance, 391 virtual void UpdateSurroundingText(PP_Instance instance,
389 const char* text, 392 const char* text,
390 uint32_t caret, 393 uint32_t caret,
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // The Flash proxy is associated with the instance. 652 // The Flash proxy is associated with the instance.
650 PPB_Flash_Impl flash_impl_; 653 PPB_Flash_Impl flash_impl_;
651 654
652 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 655 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
653 }; 656 };
654 657
655 } // namespace ppapi 658 } // namespace ppapi
656 } // namespace webkit 659 } // namespace webkit
657 660
658 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 661 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698