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

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: Review feedback (move struct to PPP_Pdf) Created 6 years, 2 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool case_sensitive, 245 bool case_sensitive,
246 int identifier); 246 int identifier);
247 void SelectFindResult(bool forward); 247 void SelectFindResult(bool forward);
248 void StopFind(); 248 void StopFind();
249 249
250 bool SupportsPrintInterface(); 250 bool SupportsPrintInterface();
251 bool IsPrintScalingDisabled(); 251 bool IsPrintScalingDisabled();
252 int PrintBegin(const blink::WebPrintParams& print_params); 252 int PrintBegin(const blink::WebPrintParams& print_params);
253 bool PrintPage(int page_number, blink::WebCanvas* canvas); 253 bool PrintPage(int page_number, blink::WebCanvas* canvas);
254 void PrintEnd(); 254 void PrintEnd();
255 bool GetPrintPresetOptionsFromDocument(
256 blink::WebPrintPresetOptions* preset_options);
255 257
256 bool CanRotateView(); 258 bool CanRotateView();
257 void RotateView(blink::WebPlugin::RotationType type); 259 void RotateView(blink::WebPlugin::RotationType type);
258 260
259 // There are 2 implementations of the fullscreen interface 261 // There are 2 implementations of the fullscreen interface
260 // PPB_FlashFullscreen is used by Pepper Flash. 262 // PPB_FlashFullscreen is used by Pepper Flash.
261 // PPB_Fullscreen is intended for other applications including NaCl. 263 // PPB_Fullscreen is intended for other applications including NaCl.
262 // The two interface are mutually exclusive. 264 // The two interface are mutually exclusive.
263 265
264 // Implementation of PPB_FlashFullscreen. 266 // Implementation of PPB_FlashFullscreen.
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 // view change events. 927 // view change events.
926 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 928 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
927 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 929 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
928 930
929 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 931 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
930 }; 932 };
931 933
932 } // namespace content 934 } // namespace content
933 935
934 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 936 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698