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

Side by Side Diff: content/common/view_messages.h

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed comments. Created 8 years, 8 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 IPC_STRUCT_MEMBER(int, pending_history_list_offset) 582 IPC_STRUCT_MEMBER(int, pending_history_list_offset)
583 583
584 // Informs the RenderView of where its current page contents reside in 584 // Informs the RenderView of where its current page contents reside in
585 // session history and the total size of the session history list. 585 // session history and the total size of the session history list.
586 IPC_STRUCT_MEMBER(int, current_history_list_offset) 586 IPC_STRUCT_MEMBER(int, current_history_list_offset)
587 IPC_STRUCT_MEMBER(int, current_history_list_length) 587 IPC_STRUCT_MEMBER(int, current_history_list_length)
588 588
589 // The URL to load. 589 // The URL to load.
590 IPC_STRUCT_MEMBER(GURL, url) 590 IPC_STRUCT_MEMBER(GURL, url)
591 591
592 // Whether or not we should allow the url to download.
593 IPC_STRUCT_MEMBER(bool, allow_download)
darin (slow to review) 2012/04/03 21:56:20 ditto... why not just append?
chebert 2012/04/03 22:13:23 I was thinking that the allow_download field was s
594
592 // The URL to send in the "Referer" header field. Can be empty if there is 595 // The URL to send in the "Referer" header field. Can be empty if there is
593 // no referrer. 596 // no referrer.
594 IPC_STRUCT_MEMBER(content::Referrer, referrer) 597 IPC_STRUCT_MEMBER(content::Referrer, referrer)
595 598
596 // The type of transition. 599 // The type of transition.
597 IPC_STRUCT_MEMBER(content::PageTransition, transition) 600 IPC_STRUCT_MEMBER(content::PageTransition, transition)
598 601
599 // Opaque history state (received by ViewHostMsg_UpdateState). 602 // Opaque history state (received by ViewHostMsg_UpdateState).
600 IPC_STRUCT_MEMBER(std::string, state) 603 IPC_STRUCT_MEMBER(std::string, state)
601 604
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 // have a javascript send a native value (string, number, boolean) to the 1993 // have a javascript send a native value (string, number, boolean) to the
1991 // listener in Cpp. (DomAutomationController) 1994 // listener in Cpp. (DomAutomationController)
1992 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 1995 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
1993 std::string /* json_string */, 1996 std::string /* json_string */,
1994 int /* automation_id */) 1997 int /* automation_id */)
1995 1998
1996 // Enable or disable inverting of web content pixels, for users who prefer 1999 // Enable or disable inverting of web content pixels, for users who prefer
1997 // white-on-black. 2000 // white-on-black.
1998 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, 2001 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent,
1999 bool /* invert */) 2002 bool /* invert */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698