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

Side by Side Diff: chrome/renderer/render_view.h

Issue 3174027: Clean up the way top level navigations are handled in ChromeFrame and reporte... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/renderer/render_view.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 // browser for. This is used to determine if the most recent transition 1087 // browser for. This is used to determine if the most recent transition
1088 // generated a history entry (less than page_id_), or not (equal to or 1088 // generated a history entry (less than page_id_), or not (equal to or
1089 // greater than). Note that this will be greater than page_id_ if the user 1089 // greater than). Note that this will be greater than page_id_ if the user
1090 // goes back. 1090 // goes back.
1091 int32 last_page_id_sent_to_browser_; 1091 int32 last_page_id_sent_to_browser_;
1092 1092
1093 // Page_id from the last page we indexed. This prevents us from indexing the 1093 // Page_id from the last page we indexed. This prevents us from indexing the
1094 // same page twice in a row. 1094 // same page twice in a row.
1095 int32 last_indexed_page_id_; 1095 int32 last_indexed_page_id_;
1096 1096
1097 // page id for the last navigation sent to the browser.
1098 int32 last_top_level_navigation_page_id_;
1099
1100 // The next available page ID to use. This ensures that the page IDs are 1097 // The next available page ID to use. This ensures that the page IDs are
1101 // globally unique in the renderer. 1098 // globally unique in the renderer.
1102 static int32 next_page_id_; 1099 static int32 next_page_id_;
1103 1100
1104 // Page info ----------------------------------------------------------------- 1101 // Page info -----------------------------------------------------------------
1105 1102
1106 // The last gotten main frame's encoding. 1103 // The last gotten main frame's encoding.
1107 std::string last_encoding_name_; 1104 std::string last_encoding_name_;
1108 1105
1109 int history_list_offset_; 1106 int history_list_offset_;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1305 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1309 // sections rather than throwing it randomly at the end. If you're adding a 1306 // sections rather than throwing it randomly at the end. If you're adding a
1310 // bunch of stuff, you should probably create a helper class and put your 1307 // bunch of stuff, you should probably create a helper class and put your
1311 // data and methods on that to avoid bloating RenderView more. 1308 // data and methods on that to avoid bloating RenderView more.
1312 // --------------------------------------------------------------------------- 1309 // ---------------------------------------------------------------------------
1313 1310
1314 DISALLOW_COPY_AND_ASSIGN(RenderView); 1311 DISALLOW_COPY_AND_ASSIGN(RenderView);
1315 }; 1312 };
1316 1313
1317 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1314 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698