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

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: Created 6 years, 8 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 static Referrer GetReferrerFromRequest( 714 static Referrer GetReferrerFromRequest(
714 blink::WebFrame* frame, 715 blink::WebFrame* frame,
715 const blink::WebURLRequest& request); 716 const blink::WebURLRequest& request);
716 717
717 static WindowOpenDisposition NavigationPolicyToDisposition( 718 static WindowOpenDisposition NavigationPolicyToDisposition(
718 blink::WebNavigationPolicy policy); 719 blink::WebNavigationPolicy policy);
719 720
720 void UpdateTitle(blink::WebFrame* frame, const base::string16& title, 721 void UpdateTitle(blink::WebFrame* frame, const base::string16& title,
721 blink::WebTextDirection title_direction); 722 blink::WebTextDirection title_direction);
722 void UpdateSessionHistory(blink::WebFrame* frame); 723 void UpdateSessionHistory(blink::WebFrame* frame);
723 void SendUpdateState(const blink::WebHistoryItem& item); 724 void SendUpdateState(HistoryEntry* entry);
724 725
725 // Update current main frame's encoding and send it to browser window. 726 // Update current main frame's encoding and send it to browser window.
726 // Since we want to let users see the right encoding info from menu 727 // Since we want to let users see the right encoding info from menu
727 // before finishing loading, we call the UpdateEncoding in 728 // before finishing loading, we call the UpdateEncoding in
728 // a) function:DidCommitLoadForFrame. When this function is called, 729 // a) function:DidCommitLoadForFrame. When this function is called,
729 // that means we have got first data. In here we try to get encoding 730 // that means we have got first data. In here we try to get encoding
730 // of page if it has been specified in http header. 731 // of page if it has been specified in http header.
731 // b) function:DidReceiveTitle. When this function is called, 732 // b) function:DidReceiveTitle. When this function is called,
732 // that means we have got specified title. Because in most of webpages, 733 // that means we have got specified title. Because in most of webpages,
733 // title tags will follow meta tags. In here we try to get encoding of 734 // 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
1312 // use the Observer interface to filter IPC messages and receive frame change 1313 // use the Observer interface to filter IPC messages and receive frame change
1313 // notifications. 1314 // notifications.
1314 // --------------------------------------------------------------------------- 1315 // ---------------------------------------------------------------------------
1315 1316
1316 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1317 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1317 }; 1318 };
1318 1319
1319 } // namespace content 1320 } // namespace content
1320 1321
1321 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1322 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698