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_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 232 void RequestSurroundingText(size_t desired_number_of_characters); | 232 void RequestSurroundingText(size_t desired_number_of_characters); |
| 233 void Zoom(double factor, bool text_only); | 233 void Zoom(double factor, bool text_only); |
| 234 bool StartFind(const base::string16& search_text, | 234 bool StartFind(const base::string16& search_text, |
| 235 bool case_sensitive, | 235 bool case_sensitive, |
| 236 int identifier); | 236 int identifier); |
| 237 void SelectFindResult(bool forward); | 237 void SelectFindResult(bool forward); |
| 238 void StopFind(); | 238 void StopFind(); |
| 239 | 239 |
| 240 bool SupportsPrintInterface(); | 240 bool SupportsPrintInterface(); |
| 241 bool IsPrintScalingDisabled(); | 241 bool IsPrintScalingDisabled(); |
| 242 int GetNumCopies(); | |
|
Vitaly Buka (NO REVIEWS)
2014/07/10 01:13:05
GetCopiesToPrint()
Nikhil
2014/07/16 13:52:55
Done.
| |
| 242 int PrintBegin(const blink::WebPrintParams& print_params); | 243 int PrintBegin(const blink::WebPrintParams& print_params); |
| 243 bool PrintPage(int page_number, blink::WebCanvas* canvas); | 244 bool PrintPage(int page_number, blink::WebCanvas* canvas); |
| 244 void PrintEnd(); | 245 void PrintEnd(); |
| 245 | 246 |
| 246 bool CanRotateView(); | 247 bool CanRotateView(); |
| 247 void RotateView(blink::WebPlugin::RotationType type); | 248 void RotateView(blink::WebPlugin::RotationType type); |
| 248 | 249 |
| 249 // There are 2 implementations of the fullscreen interface | 250 // There are 2 implementations of the fullscreen interface |
| 250 // PPB_FlashFullscreen is used by Pepper Flash. | 251 // PPB_FlashFullscreen is used by Pepper Flash. |
| 251 // PPB_Fullscreen is intended for other applications including NaCl. | 252 // PPB_Fullscreen is intended for other applications including NaCl. |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 907 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 908 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 908 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 909 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 909 | 910 |
| 910 friend class PpapiPluginInstanceTest; | 911 friend class PpapiPluginInstanceTest; |
| 911 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 912 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 912 }; | 913 }; |
| 913 | 914 |
| 914 } // namespace content | 915 } // namespace content |
| 915 | 916 |
| 916 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 917 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |