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

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

Issue 8584010: Adding base URL to the frame committed message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced and disabled test (to figure-out EOL madness) 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/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
(...skipping 13 matching lines...) Expand all
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
27 // page IDs for user actions, and the old page IDs will be reloaded when 27 // page IDs for user actions, and the old page IDs will be reloaded when
28 // iframes are loaded automatically. 28 // iframes are loaded automatically.
29 int32 page_id; 29 int32 page_id;
30 30
31 // URL of the page being loaded. 31 // URL of the page being loaded.
32 GURL url; 32 GURL url;
33 33
34 // The base URL for the page's document when the frame was committed. Empty if
35 // similar to 'url' above. Note that any base element in the page has not been
36 // parsed yet and is therefore not reflected.
37 // This is of interest when a MHTML file is loaded, as the base URL has been
38 // set to original URL of the site the MHTML represents.
39 GURL base_url;
40
34 // URL of the referrer of this load. WebKit generates this based on the 41 // URL of the referrer of this load. WebKit generates this based on the
35 // source of the event that caused the load. 42 // source of the event that caused the load.
36 GURL referrer; 43 GURL referrer;
37 44
38 // The type of transition. 45 // The type of transition.
39 PageTransition transition; 46 PageTransition transition;
40 47
41 // Lists the redirects that occurred on the way to the current page. This 48 // 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, 49 // 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 50 // with the current page being the last one in the list (so even when
(...skipping 14 matching lines...) Expand all
58 // Contents MIME type of main frame. 65 // Contents MIME type of main frame.
59 std::string contents_mime_type; 66 std::string contents_mime_type;
60 67
61 // Remote address of the socket which fetched this resource. 68 // Remote address of the socket which fetched this resource.
62 net::HostPortPair socket_address; 69 net::HostPortPair socket_address;
63 }; 70 };
64 71
65 } // namespace content 72 } // namespace content
66 73
67 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ 74 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698