| OLD | NEW |
| 1 // Copyright (c) 2011 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_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 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 printBegin(const WebKit::WebRect& printable_area, | 79 virtual int printBegin(const WebKit::WebRect& printable_area, |
| 80 int printer_dpi) OVERRIDE; | 80 int printer_dpi) OVERRIDE; |
| 81 virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE; | 81 virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE; |
| 82 virtual void printEnd() OVERRIDE; | 82 virtual void printEnd() OVERRIDE; |
| 83 | 83 |
| 84 virtual bool canRotateView() OVERRIDE; |
| 85 virtual void rotateView(RotationType type) OVERRIDE; |
| 86 |
| 84 struct InitData; | 87 struct InitData; |
| 85 | 88 |
| 86 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. | 89 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. |
| 87 // True if the instance represents the entire document in a frame instead of | 90 // True if the instance represents the entire document in a frame instead of |
| 88 // being an embedded resource. | 91 // being an embedded resource. |
| 89 bool full_frame_; | 92 bool full_frame_; |
| 90 scoped_refptr<PluginInstance> instance_; | 93 scoped_refptr<PluginInstance> instance_; |
| 91 scoped_refptr<PPB_URLLoader_Impl> document_loader_; | 94 scoped_refptr<PPB_URLLoader_Impl> document_loader_; |
| 92 gfx::Rect plugin_rect_; | 95 gfx::Rect plugin_rect_; |
| 93 | 96 |
| 94 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 97 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 95 }; | 98 }; |
| 96 | 99 |
| 97 } // namespace ppapi | 100 } // namespace ppapi |
| 98 } // namespace webkit | 101 } // namespace webkit |
| 99 | 102 |
| 100 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 103 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |