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

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: Rebase Created 6 years, 1 month 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool case_sensitive, 248 bool case_sensitive,
249 int identifier); 249 int identifier);
250 void SelectFindResult(bool forward); 250 void SelectFindResult(bool forward);
251 void StopFind(); 251 void StopFind();
252 252
253 bool SupportsPrintInterface(); 253 bool SupportsPrintInterface();
254 bool IsPrintScalingDisabled(); 254 bool IsPrintScalingDisabled();
255 int PrintBegin(const blink::WebPrintParams& print_params); 255 int PrintBegin(const blink::WebPrintParams& print_params);
256 bool PrintPage(int page_number, blink::WebCanvas* canvas); 256 bool PrintPage(int page_number, blink::WebCanvas* canvas);
257 void PrintEnd(); 257 void PrintEnd();
258 bool GetPrintPresetOptionsFromDocument(
259 blink::WebPrintPresetOptions* preset_options);
258 260
259 bool CanRotateView(); 261 bool CanRotateView();
260 void RotateView(blink::WebPlugin::RotationType type); 262 void RotateView(blink::WebPlugin::RotationType type);
261 263
262 // There are 2 implementations of the fullscreen interface 264 // There are 2 implementations of the fullscreen interface
263 // PPB_FlashFullscreen is used by Pepper Flash. 265 // PPB_FlashFullscreen is used by Pepper Flash.
264 // PPB_Fullscreen is intended for other applications including NaCl. 266 // PPB_Fullscreen is intended for other applications including NaCl.
265 // The two interface are mutually exclusive. 267 // The two interface are mutually exclusive.
266 268
267 // Implementation of PPB_FlashFullscreen. 269 // Implementation of PPB_FlashFullscreen.
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 // view change events. 915 // view change events.
914 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 916 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
915 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 917 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
916 918
917 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 919 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
918 }; 920 };
919 921
920 } // namespace content 922 } // namespace content
921 923
922 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 924 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698