| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBPLUGIN_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 virtual bool startFind(const WebKit::WebString& search_text, | 70 virtual bool startFind(const WebKit::WebString& search_text, |
| 71 bool case_sensitive, | 71 bool case_sensitive, |
| 72 int identifier); | 72 int identifier); |
| 73 virtual void selectFindResult(bool forward); | 73 virtual void selectFindResult(bool forward); |
| 74 virtual void stopFind(); | 74 virtual void stopFind(); |
| 75 virtual bool supportsPaginatedPrint(); | 75 virtual bool supportsPaginatedPrint(); |
| 76 virtual int printBegin(const WebKit::WebRect& printable_area, | 76 virtual int printBegin(const WebKit::WebRect& printable_area, |
| 77 int printer_dpi); | 77 int printer_dpi); |
| 78 virtual bool printPage(int page_number, WebKit::WebCanvas* canvas); | 78 virtual bool printPage(int page_number, WebKit::WebCanvas* canvas); |
| 79 virtual void printEnd(); | 79 virtual void printEnd(); |
| 80 virtual void onFullscreenChanged(); |
| 80 | 81 |
| 81 struct InitData; | 82 struct InitData; |
| 82 | 83 |
| 83 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. | 84 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. |
| 84 // True if the instance represents the entire document in a frame instead of | 85 // True if the instance represents the entire document in a frame instead of |
| 85 // being an embedded resource. | 86 // being an embedded resource. |
| 86 bool full_frame_; | 87 bool full_frame_; |
| 87 scoped_refptr<PluginInstance> instance_; | 88 scoped_refptr<PluginInstance> instance_; |
| 88 scoped_refptr<PPB_URLLoader_Impl> document_loader_; | 89 scoped_refptr<PPB_URLLoader_Impl> document_loader_; |
| 89 gfx::Rect plugin_rect_; | 90 gfx::Rect plugin_rect_; |
| 90 | 91 |
| 91 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 92 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 } // namespace ppapi | 95 } // namespace ppapi |
| 95 } // namespace webkit | 96 } // namespace webkit |
| 96 | 97 |
| 97 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 98 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |