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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
241 bool case_sensitive, | 241 bool case_sensitive, |
242 int identifier); | 242 int identifier); |
243 void SelectFindResult(bool forward); | 243 void SelectFindResult(bool forward); |
244 void StopFind(); | 244 void StopFind(); |
245 | 245 |
246 bool SupportsPrintInterface(); | 246 bool SupportsPrintInterface(); |
247 bool IsPrintScalingDisabled(); | 247 bool IsPrintScalingDisabled(); |
248 int PrintBegin(const blink::WebPrintParams& print_params); | 248 int PrintBegin(const blink::WebPrintParams& print_params); |
249 bool PrintPage(int page_number, blink::WebCanvas* canvas); | 249 bool PrintPage(int page_number, blink::WebCanvas* canvas); |
250 void PrintEnd(); | 250 void PrintEnd(); |
251 bool GetPrintPresetOptionsFromDocument( | |
252 blink::WebPrintPresetOptions& preset_options); | |
dmichael (off chromium)
2014/09/22 18:11:51
nit: In Chromium, out-params should be by pointer.
Nikhil
2014/09/23 10:32:28
Thanks for the links :)
I've updated the code. PT
| |
251 | 253 |
252 bool CanRotateView(); | 254 bool CanRotateView(); |
253 void RotateView(blink::WebPlugin::RotationType type); | 255 void RotateView(blink::WebPlugin::RotationType type); |
254 | 256 |
255 // There are 2 implementations of the fullscreen interface | 257 // There are 2 implementations of the fullscreen interface |
256 // PPB_FlashFullscreen is used by Pepper Flash. | 258 // PPB_FlashFullscreen is used by Pepper Flash. |
257 // PPB_Fullscreen is intended for other applications including NaCl. | 259 // PPB_Fullscreen is intended for other applications including NaCl. |
258 // The two interface are mutually exclusive. | 260 // The two interface are mutually exclusive. |
259 | 261 |
260 // Implementation of PPB_FlashFullscreen. | 262 // Implementation of PPB_FlashFullscreen. |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
923 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 925 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
924 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 926 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
925 | 927 |
926 friend class PpapiPluginInstanceTest; | 928 friend class PpapiPluginInstanceTest; |
927 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 929 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
928 }; | 930 }; |
929 | 931 |
930 } // namespace content | 932 } // namespace content |
931 | 933 |
932 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 934 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |