Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PPP_Pdf changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698