OLD | NEW |
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 CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void didFailLoading(const blink::WebURLError&); | 61 virtual void didFailLoading(const blink::WebURLError&); |
62 virtual void didFinishLoadingFrameRequest(const blink::WebURL& url, | 62 virtual void didFinishLoadingFrameRequest(const blink::WebURL& url, |
63 void* notify_data); | 63 void* notify_data); |
64 virtual void didFailLoadingFrameRequest(const blink::WebURL& url, | 64 virtual void didFailLoadingFrameRequest(const blink::WebURL& url, |
65 void* notify_data, | 65 void* notify_data, |
66 const blink::WebURLError& error); | 66 const blink::WebURLError& error); |
67 virtual bool hasSelection() const; | 67 virtual bool hasSelection() const; |
68 virtual blink::WebString selectionAsText() const; | 68 virtual blink::WebString selectionAsText() const; |
69 virtual blink::WebString selectionAsMarkup() const; | 69 virtual blink::WebString selectionAsMarkup() const; |
70 virtual blink::WebURL linkAtPosition(const blink::WebPoint& position) const; | 70 virtual blink::WebURL linkAtPosition(const blink::WebPoint& position) const; |
| 71 virtual bool getPrintPresetOptionsFromDocument( |
| 72 blink::WebPrintPresetOptions* preset_options); |
71 virtual void setZoomLevel(double level, bool text_only); | 73 virtual void setZoomLevel(double level, bool text_only); |
72 virtual bool startFind(const blink::WebString& search_text, | 74 virtual bool startFind(const blink::WebString& search_text, |
73 bool case_sensitive, | 75 bool case_sensitive, |
74 int identifier); | 76 int identifier); |
75 virtual void selectFindResult(bool forward); | 77 virtual void selectFindResult(bool forward); |
76 virtual void stopFind(); | 78 virtual void stopFind(); |
77 virtual bool supportsPaginatedPrint() override; | 79 virtual bool supportsPaginatedPrint() override; |
78 virtual bool isPrintScalingDisabled() override; | 80 virtual bool isPrintScalingDisabled() override; |
79 | 81 |
80 virtual int printBegin(const blink::WebPrintParams& print_params) override; | 82 virtual int printBegin(const blink::WebPrintParams& print_params) override; |
(...skipping 18 matching lines...) Expand all Loading... |
99 gfx::Rect plugin_rect_; | 101 gfx::Rect plugin_rect_; |
100 PP_Var instance_object_; | 102 PP_Var instance_object_; |
101 blink::WebPluginContainer* container_; | 103 blink::WebPluginContainer* container_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 105 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
104 }; | 106 }; |
105 | 107 |
106 } // namespace content | 108 } // namespace content |
107 | 109 |
108 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ | 110 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ |
OLD | NEW |