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

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

Issue 6363002: Implement the onBeforeRetarget event of the webNavigation API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 9 years, 11 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) 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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 774
775 // Type of window requested. 775 // Type of window requested.
776 WindowContainerType window_container_type; 776 WindowContainerType window_container_type;
777 777
778 // The session storage namespace ID this view should use. 778 // The session storage namespace ID this view should use.
779 int64 session_storage_namespace_id; 779 int64 session_storage_namespace_id;
780 780
781 // The name of the resulting frame that should be created (empty if none 781 // The name of the resulting frame that should be created (empty if none
782 // has been specified). 782 // has been specified).
783 string16 frame_name; 783 string16 frame_name;
784
785 // The frame identifier of the frame initiating the open.
786 int64 opener_frame_id;
787
788 // The URL of the frame initiating the open.
789 GURL opener_url;
790
791 // The URL that will be loaded in the new window (empty if none has been
792 // sepcified).
793 GURL target_url;
784 }; 794 };
785 795
786 struct ViewHostMsg_RunFileChooser_Params { 796 struct ViewHostMsg_RunFileChooser_Params {
787 enum Mode { 797 enum Mode {
788 // Requires that the file exists before allowing the user to pick it. 798 // Requires that the file exists before allowing the user to pick it.
789 Open, 799 Open,
790 800
791 // Like Open, but allows picking multiple files to open. 801 // Like Open, but allows picking multiple files to open.
792 OpenMultiple, 802 OpenMultiple,
793 803
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1145 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1136 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1146 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1137 static void Write(Message* m, const param_type& p); 1147 static void Write(Message* m, const param_type& p);
1138 static bool Read(const Message* m, void** iter, param_type* p); 1148 static bool Read(const Message* m, void** iter, param_type* p);
1139 static void Log(const param_type& p, std::string* l); 1149 static void Log(const param_type& p, std::string* l);
1140 }; 1150 };
1141 1151
1142 } // namespace IPC 1152 } // namespace IPC
1143 1153
1144 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1154 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698