mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Introduce CefString and cef_string_t implementations that support string type conversions and customization of the API string type (issue #146).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@145 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -75,11 +75,11 @@ void PrintSettings::ResetRequestedPageMargins() {
|
||||
void PrintSettings::Init(HDC hdc,
|
||||
const DEVMODE& dev_mode,
|
||||
const PageRanges& new_ranges,
|
||||
const std::wstring& new_device_name,
|
||||
const CefString& new_device_name,
|
||||
bool print_selection_only,
|
||||
bool print_to_file) {
|
||||
DCHECK(hdc);
|
||||
printer_name_ = dev_mode.dmDeviceName;
|
||||
printer_name_ = std::wstring(dev_mode.dmDeviceName);
|
||||
device_name_ = new_device_name;
|
||||
ranges = new_ranges;
|
||||
landscape = dev_mode.dmOrientation == DMORIENT_LANDSCAPE;
|
||||
|
Reference in New Issue
Block a user