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

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: allow_download_(true) Created 8 years, 7 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
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/renderer/navigation_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 601
602 // Extra headers (separated by \n) to send during the request. 602 // Extra headers (separated by \n) to send during the request.
603 IPC_STRUCT_MEMBER(std::string, extra_headers) 603 IPC_STRUCT_MEMBER(std::string, extra_headers)
604 604
605 // The following two members identify a previous request that has been 605 // The following two members identify a previous request that has been
606 // created before this navigation is being transferred to a new render view. 606 // created before this navigation is being transferred to a new render view.
607 // This serves the purpose of recycling the old request. 607 // This serves the purpose of recycling the old request.
608 // Unless this refers to a transferred navigation, these values are -1 and -1. 608 // Unless this refers to a transferred navigation, these values are -1 and -1.
609 IPC_STRUCT_MEMBER(int, transferred_request_child_id) 609 IPC_STRUCT_MEMBER(int, transferred_request_child_id)
610 IPC_STRUCT_MEMBER(int, transferred_request_request_id) 610 IPC_STRUCT_MEMBER(int, transferred_request_request_id)
611
612 // Whether or not we should allow the url to download.
613 IPC_STRUCT_MEMBER(bool, allow_download)
611 IPC_STRUCT_END() 614 IPC_STRUCT_END()
612 615
613 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 616 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
614 // The parent window's id. 617 // The parent window's id.
615 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 618 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
616 619
617 // Renderer-wide preferences. 620 // Renderer-wide preferences.
618 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) 621 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences)
619 622
620 // Preferences for this view. 623 // Preferences for this view.
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 int /* automation_id */) 2023 int /* automation_id */)
2021 2024
2022 // Sent to the browser when the renderer detects it is blocked on a pepper 2025 // Sent to the browser when the renderer detects it is blocked on a pepper
2023 // plugin message for too long. This is also sent when it becomes unhung 2026 // plugin message for too long. This is also sent when it becomes unhung
2024 // (according to the value of is_hung). The browser can give the user the 2027 // (according to the value of is_hung). The browser can give the user the
2025 // option of killing the plugin. 2028 // option of killing the plugin.
2026 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2029 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2027 int /* plugin_child_id */, 2030 int /* plugin_child_id */,
2028 FilePath /* path */, 2031 FilePath /* path */,
2029 bool /* is_hung */) 2032 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/renderer/navigation_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698