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

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

Issue 479: DidNavigate refactor of doom (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data 55 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data
56 // parameters to be reasonably put in a predefined IPC message. 56 // parameters to be reasonably put in a predefined IPC message.
57 struct ViewHostMsg_FrameNavigate_Params { 57 struct ViewHostMsg_FrameNavigate_Params {
58 // Page ID of this navigation. The renderer creates a new unique page ID 58 // Page ID of this navigation. The renderer creates a new unique page ID
59 // anytime a new session history entry is created. This means you'll get new 59 // anytime a new session history entry is created. This means you'll get new
60 // page IDs for user actions, and the old page IDs will be reloaded when 60 // page IDs for user actions, and the old page IDs will be reloaded when
61 // iframes are loaded automatically. 61 // iframes are loaded automatically.
62 int32 page_id; 62 int32 page_id;
63 63
64 // URL of the page being loaded. NON-CANONICAL. 64 // URL of the page being loaded.
65 GURL url; 65 GURL url;
66 66
67 // URL of the referrer of this load. WebKit generates this based on the 67 // URL of the referrer of this load. WebKit generates this based on the
68 // source of the event that caused the load. NON-CANONICAL. 68 // source of the event that caused the load.
69 GURL referrer; 69 GURL referrer;
70 70
71 // The type of transition. 71 // The type of transition.
72 PageTransition::Type transition; 72 PageTransition::Type transition;
73 73
74 // Lists the redirects that occurred on the way to the current page. This 74 // Lists the redirects that occurred on the way to the current page. This
75 // vector has the same format as reported by the WebDataSource in the glue, 75 // vector has the same format as reported by the WebDataSource in the glue,
76 // with the current page being the last one in the list (so even when 76 // with the current page being the last one in the list (so even when
77 // there's no redirect, there will be one entry in the list. 77 // there's no redirect, there will be one entry in the list.
78 std::vector<GURL> redirects; 78 std::vector<GURL> redirects;
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 ReadParam(m, iter, &p->file_contents); 1500 ReadParam(m, iter, &p->file_contents);
1501 } 1501 }
1502 static void Log(const param_type& p, std::wstring* l) { 1502 static void Log(const param_type& p, std::wstring* l) {
1503 l->append(L"<WebDropData>"); 1503 l->append(L"<WebDropData>");
1504 } 1504 }
1505 }; 1505 };
1506 1506
1507 } // namespace IPC 1507 } // namespace IPC
1508 1508
1509 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1509 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« chrome/browser/navigation_controller_unittest.cc ('K') | « chrome/common/notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698