OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 | 777 |
778 // Type of window requested. | 778 // Type of window requested. |
779 WindowContainerType window_container_type; | 779 WindowContainerType window_container_type; |
780 | 780 |
781 // The session storage namespace ID this view should use. | 781 // The session storage namespace ID this view should use. |
782 int64 session_storage_namespace_id; | 782 int64 session_storage_namespace_id; |
783 | 783 |
784 // The name of the resulting frame that should be created (empty if none | 784 // The name of the resulting frame that should be created (empty if none |
785 // has been specified). | 785 // has been specified). |
786 string16 frame_name; | 786 string16 frame_name; |
| 787 |
| 788 // The frame identifier of the frame initiating the open. |
| 789 int64 opener_frame_id; |
| 790 |
| 791 // The URL of the frame initiating the open. |
| 792 GURL opener_url; |
| 793 |
| 794 // The security origin of the frame initiating the open. |
| 795 std::string opener_security_origin; |
| 796 |
| 797 // The URL that will be loaded in the new window (empty if none has been |
| 798 // sepcified). |
| 799 GURL target_url; |
787 }; | 800 }; |
788 | 801 |
789 struct ViewHostMsg_RunFileChooser_Params { | 802 struct ViewHostMsg_RunFileChooser_Params { |
790 enum Mode { | 803 enum Mode { |
791 // Requires that the file exists before allowing the user to pick it. | 804 // Requires that the file exists before allowing the user to pick it. |
792 Open, | 805 Open, |
793 | 806 |
794 // Like Open, but allows picking multiple files to open. | 807 // Like Open, but allows picking multiple files to open. |
795 OpenMultiple, | 808 OpenMultiple, |
796 | 809 |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1151 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1139 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1152 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1140 static void Write(Message* m, const param_type& p); | 1153 static void Write(Message* m, const param_type& p); |
1141 static bool Read(const Message* m, void** iter, param_type* p); | 1154 static bool Read(const Message* m, void** iter, param_type* p); |
1142 static void Log(const param_type& p, std::string* l); | 1155 static void Log(const param_type& p, std::string* l); |
1143 }; | 1156 }; |
1144 | 1157 |
1145 } // namespace IPC | 1158 } // namespace IPC |
1146 | 1159 |
1147 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1160 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |