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 int PrintBegin(const gfx::Rect& content_area, |
|
vandebo (ex-Chrome)
2012/04/19 18:45:31
You'll probably need to make a chrome commit first
kmadhusu
2012/04/20 22:29:57
I agree.. So this will be my first commit (Just th
| |
| 237 const gfx::Rect& printable_area, | |
| 238 const gfx::Size& paper_size, | |
| 239 bool fit_to_paper_size, | |
| 240 int printer_dpi); | |
| 237 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); | 241 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); |
| 238 void PrintEnd(); | 242 void PrintEnd(); |
| 239 | 243 |
| 240 bool CanRotateView(); | 244 bool CanRotateView(); |
| 241 void RotateView(WebKit::WebPlugin::RotationType type); | 245 void RotateView(WebKit::WebPlugin::RotationType type); |
| 242 | 246 |
| 243 void Graphics3DContextLost(); | 247 void Graphics3DContextLost(); |
| 244 | 248 |
| 245 // There are 2 implementations of the fullscreen interface | 249 // There are 2 implementations of the fullscreen interface |
| 246 // PPB_FlashFullscreen is used by Pepper Flash. | 250 // PPB_FlashFullscreen is used by Pepper Flash. |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 648 // a user gesture after it has been processed. | 652 // a user gesture after it has been processed. |
| 649 PP_TimeTicks pending_user_gesture_; | 653 PP_TimeTicks pending_user_gesture_; |
| 650 | 654 |
| 651 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 655 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 652 }; | 656 }; |
| 653 | 657 |
| 654 } // namespace ppapi | 658 } // namespace ppapi |
| 655 } // namespace webkit | 659 } // namespace webkit |
| 656 | 660 |
| 657 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 661 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |