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

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 (rename from PPP_.. to PP_..) 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 bool case_sensitive, 246 bool case_sensitive,
247 int identifier); 247 int identifier);
248 void SelectFindResult(bool forward); 248 void SelectFindResult(bool forward);
249 void StopFind(); 249 void StopFind();
250 250
251 bool SupportsPrintInterface(); 251 bool SupportsPrintInterface();
252 bool IsPrintScalingDisabled(); 252 bool IsPrintScalingDisabled();
253 int PrintBegin(const blink::WebPrintParams& print_params); 253 int PrintBegin(const blink::WebPrintParams& print_params);
254 bool PrintPage(int page_number, blink::WebCanvas* canvas); 254 bool PrintPage(int page_number, blink::WebCanvas* canvas);
255 void PrintEnd(); 255 void PrintEnd();
256 bool GetPrintPresetOptionsFromDocument(
257 blink::WebPrintPresetOptions* preset_options);
256 258
257 bool CanRotateView(); 259 bool CanRotateView();
258 void RotateView(blink::WebPlugin::RotationType type); 260 void RotateView(blink::WebPlugin::RotationType type);
259 261
260 // There are 2 implementations of the fullscreen interface 262 // There are 2 implementations of the fullscreen interface
261 // PPB_FlashFullscreen is used by Pepper Flash. 263 // PPB_FlashFullscreen is used by Pepper Flash.
262 // PPB_Fullscreen is intended for other applications including NaCl. 264 // PPB_Fullscreen is intended for other applications including NaCl.
263 // The two interface are mutually exclusive. 265 // The two interface are mutually exclusive.
264 266
265 // Implementation of PPB_FlashFullscreen. 267 // Implementation of PPB_FlashFullscreen.
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 // view change events. 942 // view change events.
941 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 943 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
942 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 944 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
943 945
944 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 946 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
945 }; 947 };
946 948
947 } // namespace content 949 } // namespace content
948 950
949 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 951 #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