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

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

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/common/page_transition_types.h" 13 #include "content/public/common/page_transition_types.h"
14 #include "content/public/common/referrer.h" 14 #include "content/public/common/referrer.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "webkit/glue/password_form.h" 17 #include "webkit/forms/password_form.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 // Struct used by TabContentsObserver. 21 // Struct used by TabContentsObserver.
22 struct CONTENT_EXPORT FrameNavigateParams { 22 struct CONTENT_EXPORT FrameNavigateParams {
23 FrameNavigateParams(); 23 FrameNavigateParams();
24 ~FrameNavigateParams(); 24 ~FrameNavigateParams();
25 25
26 // Page ID of this navigation. The renderer creates a new unique page ID 26 // Page ID of this navigation. The renderer creates a new unique page ID
27 // anytime a new session history entry is created. This means you'll get new 27 // anytime a new session history entry is created. This means you'll get new
(...skipping 26 matching lines...) Expand all
54 54
55 // Set to false if we want to update the session history but not update 55 // Set to false if we want to update the session history but not update
56 // the browser history. E.g., on unreachable urls. 56 // the browser history. E.g., on unreachable urls.
57 bool should_update_history; 57 bool should_update_history;
58 58
59 // See SearchableFormData for a description of these. 59 // See SearchableFormData for a description of these.
60 GURL searchable_form_url; 60 GURL searchable_form_url;
61 std::string searchable_form_encoding; 61 std::string searchable_form_encoding;
62 62
63 // See password_form.h. 63 // See password_form.h.
64 webkit_glue::PasswordForm password_form; 64 webkit::forms::PasswordForm password_form;
65 65
66 // Contents MIME type of main frame. 66 // Contents MIME type of main frame.
67 std::string contents_mime_type; 67 std::string contents_mime_type;
68 68
69 // Remote address of the socket which fetched this resource. 69 // Remote address of the socket which fetched this resource.
70 net::HostPortPair socket_address; 70 net::HostPortPair socket_address;
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ 75 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/public/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698