Chromium Code Reviews| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 void setZoomLevel(double level, bool text_only); | 71 virtual void setZoomLevel(double level, bool text_only); |
| 72 virtual bool startFind(const blink::WebString& search_text, | 72 virtual bool startFind(const blink::WebString& search_text, |
| 73 bool case_sensitive, | 73 bool case_sensitive, |
| 74 int identifier); | 74 int identifier); |
| 75 virtual void selectFindResult(bool forward); | 75 virtual void selectFindResult(bool forward); |
| 76 virtual void stopFind(); | 76 virtual void stopFind(); |
| 77 virtual bool supportsPaginatedPrint() OVERRIDE; | 77 virtual bool supportsPaginatedPrint() OVERRIDE; |
| 78 virtual bool isPrintScalingDisabled() OVERRIDE; | 78 virtual bool isPrintScalingDisabled() OVERRIDE; |
| 79 virtual int getNumCopies() OVERRIDE; | |
|
Vitaly Buka (NO REVIEWS)
2014/07/10 01:13:05
getCopiesToPrint
Nikhil
2014/07/16 13:52:55
Done.
| |
| 79 | 80 |
| 80 virtual int printBegin(const blink::WebPrintParams& print_params) OVERRIDE; | 81 virtual int printBegin(const blink::WebPrintParams& print_params) OVERRIDE; |
| 81 virtual bool printPage(int page_number, blink::WebCanvas* canvas) OVERRIDE; | 82 virtual bool printPage(int page_number, blink::WebCanvas* canvas) OVERRIDE; |
| 82 virtual void printEnd() OVERRIDE; | 83 virtual void printEnd() OVERRIDE; |
| 83 | 84 |
| 84 virtual bool canRotateView() OVERRIDE; | 85 virtual bool canRotateView() OVERRIDE; |
| 85 virtual void rotateView(RotationType type) OVERRIDE; | 86 virtual void rotateView(RotationType type) OVERRIDE; |
| 86 virtual bool isPlaceholder() OVERRIDE; | 87 virtual bool isPlaceholder() OVERRIDE; |
| 87 | 88 |
| 88 private: | 89 private: |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 99 gfx::Rect plugin_rect_; | 100 gfx::Rect plugin_rect_; |
| 100 PP_Var instance_object_; | 101 PP_Var instance_object_; |
| 101 blink::WebPluginContainer* container_; | 102 blink::WebPluginContainer* container_; |
| 102 | 103 |
| 103 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 104 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace content | 107 } // namespace content |
| 107 | 108 |
| 108 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ | 109 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |