| 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_PEPPER_WEBPLUGIN_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void* notify_data); | 67 void* notify_data); |
| 68 virtual void didFailLoadingFrameRequest(const blink::WebURL& url, | 68 virtual void didFailLoadingFrameRequest(const blink::WebURL& url, |
| 69 void* notify_data, | 69 void* notify_data, |
| 70 const blink::WebURLError& error); | 70 const blink::WebURLError& error); |
| 71 virtual bool hasSelection() const; | 71 virtual bool hasSelection() const; |
| 72 virtual blink::WebString selectionAsText() const; | 72 virtual blink::WebString selectionAsText() const; |
| 73 virtual blink::WebString selectionAsMarkup() const; | 73 virtual blink::WebString selectionAsMarkup() const; |
| 74 virtual blink::WebURL linkAtPosition(const blink::WebPoint& position) const; | 74 virtual blink::WebURL linkAtPosition(const blink::WebPoint& position) const; |
| 75 virtual bool getPrintPresetOptionsFromDocument( | 75 virtual bool getPrintPresetOptionsFromDocument( |
| 76 blink::WebPrintPresetOptions* preset_options); | 76 blink::WebPrintPresetOptions* preset_options); |
| 77 virtual void setZoomLevel(double level, bool text_only); | |
| 78 virtual bool startFind(const blink::WebString& search_text, | 77 virtual bool startFind(const blink::WebString& search_text, |
| 79 bool case_sensitive, | 78 bool case_sensitive, |
| 80 int identifier); | 79 int identifier); |
| 81 virtual void selectFindResult(bool forward); | 80 virtual void selectFindResult(bool forward); |
| 82 virtual void stopFind(); | 81 virtual void stopFind(); |
| 83 virtual bool supportsPaginatedPrint() override; | 82 virtual bool supportsPaginatedPrint() override; |
| 84 virtual bool isPrintScalingDisabled() override; | 83 virtual bool isPrintScalingDisabled() override; |
| 85 | 84 |
| 86 virtual int printBegin(const blink::WebPrintParams& print_params) override; | 85 virtual int printBegin(const blink::WebPrintParams& print_params) override; |
| 87 virtual bool printPage(int page_number, blink::WebCanvas* canvas) override; | 86 virtual bool printPage(int page_number, blink::WebCanvas* canvas) override; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 106 gfx::Rect plugin_rect_; | 105 gfx::Rect plugin_rect_; |
| 107 PP_Var instance_object_; | 106 PP_Var instance_object_; |
| 108 blink::WebPluginContainer* container_; | 107 blink::WebPluginContainer* container_; |
| 109 | 108 |
| 110 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 109 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace content | 112 } // namespace content |
| 114 | 113 |
| 115 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 114 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |