Home
last modified time | relevance | path

Searched refs:document_cookie (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/browser/printing/
Dprint_preview_message_handler.cc34 void StopWorker(int document_cookie) { in StopWorker() argument
35 if (document_cookie <= 0) in StopWorker()
40 queue->PopPrinterQuery(document_cookie); in StopWorker()
138 StopWorker(params.document_cookie); in OnMetafileReadyForPrinting()
163 void PrintPreviewMessageHandler::OnPrintPreviewFailed(int document_cookie) { in OnPrintPreviewFailed() argument
164 StopWorker(document_cookie); in OnPrintPreviewFailed()
184 void PrintPreviewMessageHandler::OnPrintPreviewCancelled(int document_cookie) { in OnPrintPreviewCancelled() argument
186 StopWorker(document_cookie); in OnPrintPreviewCancelled()
189 void PrintPreviewMessageHandler::OnInvalidPrinterSettings(int document_cookie) { in OnInvalidPrinterSettings() argument
190 StopWorker(document_cookie); in OnInvalidPrinterSettings()
Dprint_preview_message_handler.h63 void OnPrintPreviewFailed(int document_cookie);
64 void OnPrintPreviewCancelled(int document_cookie);
65 void OnInvalidPrinterSettings(int document_cookie);
Dprinting_message_filter.cc80 params->document_cookie = 0; in RenderParamsFromPrintSettings()
343 params.document_cookie = printer_query->cookie(); in OnGetDefaultPrintSettingsReply()
394 params.params.document_cookie = printer_query->cookie(); in OnScriptedPrintReply()
400 if (params.params.dpi && params.params.document_cookie) { in OnScriptedPrintReply()
430 int document_cookie, const DictionaryValue& job_settings, in OnUpdatePrintSettings() argument
438 printer_query = queue_->PopPrinterQuery(document_cookie); in OnUpdatePrintSettings()
456 params.params.document_cookie = printer_query->cookie(); in OnUpdatePrintSettingsReply()
Dprint_job_manager.cc38 int document_cookie) { in PopPrinterQuery() argument
42 if ((*itr)->cookie() == document_cookie && !(*itr)->is_callback_pending()) { in PopPrinterQuery()
Dprint_job_manager.h39 scoped_refptr<PrinterQuery> PopPrinterQuery(int document_cookie);
/external/chromium/chrome/browser/printing/
Dprinting_message_filter.cc56 params->document_cookie = 0; in RenderParamsFromPrintSettings()
208 params.document_cookie = printer_query->cookie(); in OnGetDefaultPrintSettingsReply()
260 params.params.document_cookie = printer_query->cookie(); in OnScriptedPrintReply()
266 if (params.params.dpi && params.params.document_cookie) { in OnScriptedPrintReply()
274 int document_cookie, const DictionaryValue& job_settings, in OnUpdatePrintSettings() argument
277 print_job_manager_->PopPrinterQuery(document_cookie, &printer_query); in OnUpdatePrintSettings()
296 params.params.document_cookie = printer_query->cookie(); in OnUpdatePrintSettingsReply()
Dprint_preview_message_handler.cc47 print_job_manager->PopPrinterQuery(params.document_cookie, &printer_query); in OnPagesReadyForPreview()
57 params.document_cookie, in OnPagesReadyForPreview()
Dprint_job_manager.cc68 void PrintJobManager::PopPrinterQuery(int document_cookie, in PopPrinterQuery() argument
75 if (current_query->cookie() == document_cookie && in PopPrinterQuery()
Dprint_job_manager.h43 void PopPrinterQuery(int document_cookie, scoped_refptr<PrinterQuery>* job);
Dprinting_message_filter.h70 void OnUpdatePrintSettings(int document_cookie,
/external/chromium_org/chrome/common/
Dprint_messages.h39 int document_cookie; member
111 IPC_STRUCT_TRAITS_MEMBER(document_cookie)
193 IPC_STRUCT_MEMBER(int, document_cookie)
224 IPC_STRUCT_MEMBER(int, document_cookie)
249 IPC_STRUCT_MEMBER(int, document_cookie)
Dprint_messages.cc21 document_cookie(0), in PrintMsg_Print_Params()
47 document_cookie = 0; in Reset()
/external/chromium_org/android_webview/common/
Dprint_messages.h41 int document_cookie; member
113 IPC_STRUCT_TRAITS_MEMBER(document_cookie)
199 IPC_STRUCT_MEMBER(int, document_cookie)
230 IPC_STRUCT_MEMBER(int, document_cookie)
255 IPC_STRUCT_MEMBER(int, document_cookie)
Dprint_messages.cc23 document_cookie(0), in PrintMsg_Print_Params()
49 document_cookie = 0; in Reset()
/external/chromium/chrome/common/
Dprint_messages.h44 IPC_STRUCT_MEMBER(int, document_cookie)
81 IPC_STRUCT_MEMBER(int, document_cookie)
97 IPC_STRUCT_MEMBER(int, document_cookie)
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper.cc93 !params.printable_area.IsEmpty() && params.document_cookie && in PrintMsg_Print_Params_IsValid()
947 routing_id(), print_pages_params_->params.document_cookie)); in OnPrintPreview()
1053 params.document_cookie = print_params.document_cookie; in CreatePreviewDocument()
1101 preview_params.document_cookie = print_pages_params_->params.document_cookie; in FinalizePrintReadyDocument()
1228 int cookie = print_pages_params_->params.document_cookie; in DidFinishPrinting()
1236 print_pages_params_->params.document_cookie : 0; in DidFinishPrinting()
1274 print_params.document_cookie, in PrintPages()
1356 (settings.params.dpi < kMinDpi || settings.params.document_cookie == 0)) { in InitPrintSettings()
1395 params.document_cookie)); in CalculateNumberOfPages()
1432 print_pages_params_->params.document_cookie : 0; in UpdatePrintSettings()
[all …]
Dprint_web_view_helper_linux.cc120 printed_page_params.document_cookie = params.params.document_cookie; in PrintPagesNative()
Dprint_web_view_helper_win.cc78 page_params.document_cookie = params.params.document_cookie; in PrintPageInternal()
Dprint_web_view_helper_mac.mm44 page_params.document_cookie = params.params.document_cookie;
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc97 !params.printable_area.IsEmpty() && params.document_cookie && in PrintMsg_Print_Params_IsValid()
956 routing_id(), print_pages_params_->params.document_cookie)); in OnPrintPreview()
1062 params.document_cookie = print_params.document_cookie; in CreatePreviewDocument()
1111 preview_params.document_cookie = print_pages_params_->params.document_cookie; in FinalizePrintReadyDocument()
1241 int cookie = print_pages_params_->params.document_cookie; in DidFinishPrinting()
1249 print_pages_params_->params.document_cookie : 0; in DidFinishPrinting()
1288 print_params.document_cookie, in PrintPages()
1370 (settings.params.dpi < kMinDpi || settings.params.document_cookie == 0)) { in InitPrintSettings()
1412 params.document_cookie)); in CalculateNumberOfPages()
1449 print_pages_params_->params.document_cookie : 0; in UpdatePrintSettings()
[all …]
Dprint_web_view_helper_linux.cc122 printed_page_params.document_cookie = params.params.document_cookie; in PrintPagesNative()
/external/chromium_org/android_webview/browser/renderer_host/
Dprint_manager.cc109 params->document_cookie = 0; in RenderParamsFromPrintSettings()
121 params.document_cookie = cookie_; in OnGetDefaultPrintSettingsReply()
/external/chromium_org/chrome/renderer/
Dmock_printer.cc154 settings->params.document_cookie = document_cookie_; in ScriptedPrint()
200 EXPECT_EQ(document_cookie_, params.document_cookie); in PrintPage()
301 params->document_cookie = document_cookie_; in SetPrintParams()
Dchrome_mock_render_thread.cc164 int document_cookie, in OnUpdatePrintSettings() argument
206 printer_->UpdateSettings(document_cookie, params, pages, margins_type); in OnUpdatePrintSettings()
Dchrome_mock_render_thread.h97 void OnUpdatePrintSettings(int document_cookie,

12