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

Side by Side Diff: chrome/common/render_messages.h

Issue 9623018: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 std::string, /* BCP 47/RFC 5646 language code the page 300 std::string, /* BCP 47/RFC 5646 language code the page
301 is in */ 301 is in */
302 std::string /* BCP 47/RFC 5646 language code to translate 302 std::string /* BCP 47/RFC 5646 language code to translate
303 to */) 303 to */)
304 304
305 // Tells the renderer to revert the text of translated page to its original 305 // Tells the renderer to revert the text of translated page to its original
306 // contents. 306 // contents.
307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RevertTranslation, 307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RevertTranslation,
308 int /* page id */) 308 int /* page id */)
309 309
310 // Tells a renderer if it's currently being prerendered. Must only be set
311 // to true before any navigation occurs, and only set to false at most once
312 // after that.
313 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetIsPrerendering,
314 bool /* whether the RenderView is prerendering */)
315
316 // Sent on process startup to indicate whether this process is running in 310 // Sent on process startup to indicate whether this process is running in
317 // incognito mode. 311 // incognito mode.
318 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess, 312 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess,
319 bool /* is_incognito_processs */) 313 bool /* is_incognito_processs */)
320 314
321 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. 315 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent.
322 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, 316 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent,
323 bool /* allowed */) 317 bool /* allowed */)
324 318
325 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. 319 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 // previous SetCookie message to be processed. 623 // previous SetCookie message to be processed.
630 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 624 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
631 GURL /* url */, 625 GURL /* url */,
632 GURL /* first_party_for_cookies */, 626 GURL /* first_party_for_cookies */,
633 std::string /* cookies */) 627 std::string /* cookies */)
634 628
635 // Provide the browser process with current renderer framerate. 629 // Provide the browser process with current renderer framerate.
636 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 630 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
637 int /* routing id */, 631 int /* routing id */,
638 float /* frames per second */) 632 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698