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

Side by Side Diff: content/public/common/frame_navigate_params.h

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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 #ifndef CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ 6 #define CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/public/common/page_transition_types.h" 12 #include "content/public/common/page_transition_types.h"
13 #include "content/public/common/password_form.h"
13 #include "content/public/common/referrer.h" 14 #include "content/public/common/referrer.h"
14 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
15 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
16 #include "webkit/forms/password_form.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 // Struct used by WebContentsObserver. 20 // Struct used by WebContentsObserver.
21 struct CONTENT_EXPORT FrameNavigateParams { 21 struct CONTENT_EXPORT FrameNavigateParams {
22 FrameNavigateParams(); 22 FrameNavigateParams();
23 ~FrameNavigateParams(); 23 ~FrameNavigateParams();
24 24
25 // Page ID of this navigation. The renderer creates a new unique page ID 25 // Page ID of this navigation. The renderer creates a new unique page ID
26 // anytime a new session history entry is created. This means you'll get new 26 // anytime a new session history entry is created. This means you'll get new
(...skipping 26 matching lines...) Expand all
53 53
54 // Set to false if we want to update the session history but not update 54 // Set to false if we want to update the session history but not update
55 // the browser history. E.g., on unreachable urls. 55 // the browser history. E.g., on unreachable urls.
56 bool should_update_history; 56 bool should_update_history;
57 57
58 // See SearchableFormData for a description of these. 58 // See SearchableFormData for a description of these.
59 GURL searchable_form_url; 59 GURL searchable_form_url;
60 std::string searchable_form_encoding; 60 std::string searchable_form_encoding;
61 61
62 // See password_form.h. 62 // See password_form.h.
63 webkit::forms::PasswordForm password_form; 63 content::PasswordForm password_form;
64 64
65 // Contents MIME type of main frame. 65 // Contents MIME type of main frame.
66 std::string contents_mime_type; 66 std::string contents_mime_type;
67 67
68 // Remote address of the socket which fetched this resource. 68 // Remote address of the socket which fetched this resource.
69 net::HostPortPair socket_address; 69 net::HostPortPair socket_address;
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ 74 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/password_form.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698