diff options
author | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 16:17:45 +0000 |
---|---|---|
committer | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 16:17:45 +0000 |
commit | 4c94b8cd2d717d744473f59e69c1055cc5357321 (patch) | |
tree | a8005ce6636340a96e3675e5db8176d350192d83 /chrome/common/render_messages.h | |
parent | a784ce1c1bb7d274fee0320fb72e24037ebc5978 (diff) | |
download | chromium_src-4c94b8cd2d717d744473f59e69c1055cc5357321.zip chromium_src-4c94b8cd2d717d744473f59e69c1055cc5357321.tar.gz chromium_src-4c94b8cd2d717d744473f59e69c1055cc5357321.tar.bz2 |
Cancel prerenders for pages that call window.print()
BUG=82206
TEST=PrerenderBrowserTest.PrerenderPopup
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85545
Review URL: http://codereview.chromium.org/7015026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 78199db..18304a9 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -466,6 +466,11 @@ IPC_MESSAGE_ROUTED4(ViewHostMsg_PageTranslated, // the renderer is prerendering. IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) +// Message sent from the renderer to the browser to notify it of a +// window.print() call which should cancel the prerender. The message is sent +// only when the renderer is prerendering. +IPC_MESSAGE_ROUTED0(ViewHostMsg_CancelPrerenderForPrinting) + // Sent by the renderer to check if a URL has permission to trigger a clipboard // read/write operation from the DOM. IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead, |