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

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: TabContents is now WebContentsImpl 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 606
607 // Extra headers (separated by \n) to send during the request. 607 // Extra headers (separated by \n) to send during the request.
608 IPC_STRUCT_MEMBER(std::string, extra_headers) 608 IPC_STRUCT_MEMBER(std::string, extra_headers)
609 609
610 // The following two members identify a previous request that has been 610 // The following two members identify a previous request that has been
611 // created before this navigation is being transferred to a new render view. 611 // created before this navigation is being transferred to a new render view.
612 // This serves the purpose of recycling the old request. 612 // This serves the purpose of recycling the old request.
613 // Unless this refers to a transferred navigation, these values are -1 and -1. 613 // Unless this refers to a transferred navigation, these values are -1 and -1.
614 IPC_STRUCT_MEMBER(int, transferred_request_child_id) 614 IPC_STRUCT_MEMBER(int, transferred_request_child_id)
615 IPC_STRUCT_MEMBER(int, transferred_request_request_id) 615 IPC_STRUCT_MEMBER(int, transferred_request_request_id)
616
617 // Whether or not we should allow the url to download.
618 IPC_STRUCT_MEMBER(bool, allow_download)
616 IPC_STRUCT_END() 619 IPC_STRUCT_END()
617 620
618 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 621 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
619 // The parent window's id. 622 // The parent window's id.
620 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 623 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
621 624
622 // Renderer-wide preferences. 625 // Renderer-wide preferences.
623 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) 626 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences)
624 627
625 // Preferences for this view. 628 // Preferences for this view.
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 int /* automation_id */) 2011 int /* automation_id */)
2009 2012
2010 // Sent to the browser when the renderer detects it is blocked on a pepper 2013 // Sent to the browser when the renderer detects it is blocked on a pepper
2011 // plugin message for too long. This is also sent when it becomes unhung 2014 // plugin message for too long. This is also sent when it becomes unhung
2012 // (according to the value of is_hung). The browser can give the user the 2015 // (according to the value of is_hung). The browser can give the user the
2013 // option of killing the plugin. 2016 // option of killing the plugin.
2014 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2017 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2015 int /* plugin_child_id */, 2018 int /* plugin_child_id */,
2016 FilePath /* path */, 2019 FilePath /* path */,
2017 bool /* is_hung */) 2020 bool /* is_hung */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698