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

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

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/frame_navigate_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
7 #pragma once
8
9 #include <string>
10 #include <vector>
11
12 #include "content/common/content_export.h"
13 #include "content/public/common/page_transition_types.h"
14 #include "googleurl/src/gurl.h"
15 #include "net/base/host_port_pair.h"
16 #include "webkit/glue/password_form.h"
17
18 namespace content {
19
20 // Struct used by TabContentsObserver.
21 struct CONTENT_EXPORT FrameNavigateParams {
22 FrameNavigateParams();
23 ~FrameNavigateParams();
24
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
27 // page IDs for user actions, and the old page IDs will be reloaded when
28 // iframes are loaded automatically.
29 int32 page_id;
30
31 // URL of the page being loaded.
32 GURL url;
33
34 // URL of the referrer of this load. WebKit generates this based on the
35 // source of the event that caused the load.
36 GURL referrer;
37
38 // The type of transition.
39 PageTransition transition;
40
41 // Lists the redirects that occurred on the way to the current page. This
42 // vector has the same format as reported by the WebDataSource in the glue,
43 // with the current page being the last one in the list (so even when
44 // there's no redirect, there will be one entry in the list.
45 std::vector<GURL> redirects;
46
47 // Set to false if we want to update the session history but not update
48 // the browser history. E.g., on unreachable urls.
49 bool should_update_history;
50
51 // See SearchableFormData for a description of these.
52 GURL searchable_form_url;
53 std::string searchable_form_encoding;
54
55 // See password_form.h.
56 webkit_glue::PasswordForm password_form;
57
58 // Contents MIME type of main frame.
59 std::string contents_mime_type;
60
61 // Remote address of the socket which fetched this resource.
62 net::HostPortPair socket_address;
63 };
64
65 } // namespace content
66
67 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/frame_navigate_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698