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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 226 void RequestSurroundingText(size_t desired_number_of_characters); | 226 void RequestSurroundingText(size_t desired_number_of_characters); |
| 227 void Zoom(double factor, bool text_only); | 227 void Zoom(double factor, bool text_only); |
| 228 bool StartFind(const string16& search_text, | 228 bool StartFind(const string16& search_text, |
| 229 bool case_sensitive, | 229 bool case_sensitive, |
| 230 int identifier); | 230 int identifier); |
| 231 void SelectFindResult(bool forward); | 231 void SelectFindResult(bool forward); |
| 232 void StopFind(); | 232 void StopFind(); |
| 233 | 233 |
| 234 bool SupportsPrintInterface(); | 234 bool SupportsPrintInterface(); |
| 235 bool IsPrintScalingDisabled(); | 235 bool IsPrintScalingDisabled(); |
| 236 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); | 236 |
| 237 // TODO(kmadhusu): Change the data type of |print_scaling_option| to | |
| 238 // WebKit::WebPrintScalingOption after fixing crbug.com/85132. | |
|
dmichael (off chromium)
2012/04/20 23:01:45
Are you sure that's going to work okay? int and We
vandebo (ex-Chrome)
2012/04/21 01:06:49
Kausalya and I talked about it, and yes, the enum
kmadhusu
2012/04/23 16:39:30
As you said int and WebPrintScalingOption are dist
dmichael (off chromium)
2012/04/23 17:02:40
Okay, that would have worked for the initial commi
| |
| 239 int PrintBegin(const gfx::Rect& content_area, | |
| 240 const gfx::Rect& printable_area, | |
| 241 const gfx::Size& paper_size, | |
| 242 int print_scaling_option, | |
| 243 int printer_dpi); | |
| 237 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); | 244 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); |
| 238 void PrintEnd(); | 245 void PrintEnd(); |
| 239 | 246 |
| 240 bool CanRotateView(); | 247 bool CanRotateView(); |
| 241 void RotateView(WebKit::WebPlugin::RotationType type); | 248 void RotateView(WebKit::WebPlugin::RotationType type); |
| 242 | 249 |
| 243 void Graphics3DContextLost(); | 250 void Graphics3DContextLost(); |
| 244 | 251 |
| 245 // There are 2 implementations of the fullscreen interface | 252 // There are 2 implementations of the fullscreen interface |
| 246 // PPB_FlashFullscreen is used by Pepper Flash. | 253 // PPB_FlashFullscreen is used by Pepper Flash. |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 637 // a user gesture after it has been processed. | 644 // a user gesture after it has been processed. |
| 638 PP_TimeTicks pending_user_gesture_; | 645 PP_TimeTicks pending_user_gesture_; |
| 639 | 646 |
| 640 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 647 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 641 }; | 648 }; |
| 642 | 649 |
| 643 } // namespace ppapi | 650 } // namespace ppapi |
| 644 } // namespace webkit | 651 } // namespace webkit |
| 645 | 652 |
| 646 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 653 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |