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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 248013003: Remove WebHistoryItem child usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the routing ids from serialization Created 6 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 namespace content { 134 namespace content {
135 class BrowserPluginManager; 135 class BrowserPluginManager;
136 class DeviceOrientationDispatcher; 136 class DeviceOrientationDispatcher;
137 class DevToolsAgent; 137 class DevToolsAgent;
138 class DocumentState; 138 class DocumentState;
139 class ExternalPopupMenu; 139 class ExternalPopupMenu;
140 class FaviconHelper; 140 class FaviconHelper;
141 class GeolocationDispatcher; 141 class GeolocationDispatcher;
142 class HistoryController; 142 class HistoryController;
143 class HistoryEntry;
143 class ImageResourceFetcher; 144 class ImageResourceFetcher;
144 class InputTagSpeechDispatcher; 145 class InputTagSpeechDispatcher;
145 class LoadProgressTracker; 146 class LoadProgressTracker;
146 class MidiDispatcher; 147 class MidiDispatcher;
147 class MediaStreamClient; 148 class MediaStreamClient;
148 class MediaStreamDispatcher; 149 class MediaStreamDispatcher;
149 class MouseLockDispatcher; 150 class MouseLockDispatcher;
150 class NavigationState; 151 class NavigationState;
151 class PepperPluginInstanceImpl; 152 class PepperPluginInstanceImpl;
152 class PushMessagingDispatcher; 153 class PushMessagingDispatcher;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 static Referrer GetReferrerFromRequest( 712 static Referrer GetReferrerFromRequest(
712 blink::WebFrame* frame, 713 blink::WebFrame* frame,
713 const blink::WebURLRequest& request); 714 const blink::WebURLRequest& request);
714 715
715 static WindowOpenDisposition NavigationPolicyToDisposition( 716 static WindowOpenDisposition NavigationPolicyToDisposition(
716 blink::WebNavigationPolicy policy); 717 blink::WebNavigationPolicy policy);
717 718
718 void UpdateTitle(blink::WebFrame* frame, const base::string16& title, 719 void UpdateTitle(blink::WebFrame* frame, const base::string16& title,
719 blink::WebTextDirection title_direction); 720 blink::WebTextDirection title_direction);
720 void UpdateSessionHistory(blink::WebFrame* frame); 721 void UpdateSessionHistory(blink::WebFrame* frame);
721 void SendUpdateState(const blink::WebHistoryItem& item); 722 void SendUpdateState(HistoryEntry* entry);
722 723
723 // Update current main frame's encoding and send it to browser window. 724 // Update current main frame's encoding and send it to browser window.
724 // Since we want to let users see the right encoding info from menu 725 // Since we want to let users see the right encoding info from menu
725 // before finishing loading, we call the UpdateEncoding in 726 // before finishing loading, we call the UpdateEncoding in
726 // a) function:DidCommitLoadForFrame. When this function is called, 727 // a) function:DidCommitLoadForFrame. When this function is called,
727 // that means we have got first data. In here we try to get encoding 728 // that means we have got first data. In here we try to get encoding
728 // of page if it has been specified in http header. 729 // of page if it has been specified in http header.
729 // b) function:DidReceiveTitle. When this function is called, 730 // b) function:DidReceiveTitle. When this function is called,
730 // that means we have got specified title. Because in most of webpages, 731 // that means we have got specified title. Because in most of webpages,
731 // title tags will follow meta tags. In here we try to get encoding of 732 // title tags will follow meta tags. In here we try to get encoding of
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 // use the Observer interface to filter IPC messages and receive frame change 1311 // use the Observer interface to filter IPC messages and receive frame change
1311 // notifications. 1312 // notifications.
1312 // --------------------------------------------------------------------------- 1313 // ---------------------------------------------------------------------------
1313 1314
1314 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1315 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1315 }; 1316 };
1316 1317
1317 } // namespace content 1318 } // namespace content
1318 1319
1319 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1320 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698