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

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

Issue 218993014: Call currently unimplemented history shims on WebView (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
« no previous file with comments | « no previous file | content/renderer/render_frame_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/process/process_handle.h" 16 #include "base/process/process_handle.h"
17 #include "content/public/common/referrer.h" 17 #include "content/public/common/referrer.h"
18 #include "content/public/renderer/render_frame.h" 18 #include "content/public/renderer/render_frame.h"
19 #include "content/renderer/renderer_webcookiejar_impl.h" 19 #include "content/renderer/renderer_webcookiejar_impl.h"
20 #include "ipc/ipc_message.h" 20 #include "ipc/ipc_message.h"
21 #include "third_party/WebKit/public/web/WebDataSource.h" 21 #include "third_party/WebKit/public/web/WebDataSource.h"
22 #include "third_party/WebKit/public/web/WebFrameClient.h" 22 #include "third_party/WebKit/public/web/WebFrameClient.h"
23 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
23 #include "ui/gfx/range/range.h" 24 #include "ui/gfx/range/range.h"
24 25
25 class TransportDIB; 26 class TransportDIB;
26 struct FrameMsg_BuffersSwapped_Params; 27 struct FrameMsg_BuffersSwapped_Params;
27 struct FrameMsg_CompositorFrameSwapped_Params; 28 struct FrameMsg_CompositorFrameSwapped_Params;
28 struct FrameMsg_Navigate_Params; 29 struct FrameMsg_Navigate_Params;
29 30
30 namespace blink { 31 namespace blink {
31 class WebInputEvent; 32 class WebInputEvent;
32 class WebMouseEvent; 33 class WebMouseEvent;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 blink::WebNavigationPolicy policy, 230 blink::WebNavigationPolicy policy,
230 const blink::WebString& suggested_name); 231 const blink::WebString& suggested_name);
231 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass. 232 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass.
232 virtual blink::WebNavigationPolicy decidePolicyForNavigation( 233 virtual blink::WebNavigationPolicy decidePolicyForNavigation(
233 blink::WebFrame* frame, 234 blink::WebFrame* frame,
234 blink::WebDataSource::ExtraData* extra_data, 235 blink::WebDataSource::ExtraData* extra_data,
235 const blink::WebURLRequest& request, 236 const blink::WebURLRequest& request,
236 blink::WebNavigationType type, 237 blink::WebNavigationType type,
237 blink::WebNavigationPolicy default_policy, 238 blink::WebNavigationPolicy default_policy,
238 bool is_redirect); 239 bool is_redirect);
240 virtual blink::WebHistoryItem historyItemForNewChildFrame(
241 blink::WebFrame* frame);
239 virtual void willSendSubmitEvent(blink::WebFrame* frame, 242 virtual void willSendSubmitEvent(blink::WebFrame* frame,
240 const blink::WebFormElement& form); 243 const blink::WebFormElement& form);
241 virtual void willSubmitForm(blink::WebFrame* frame, 244 virtual void willSubmitForm(blink::WebFrame* frame,
242 const blink::WebFormElement& form); 245 const blink::WebFormElement& form);
243 virtual void didCreateDataSource(blink::WebFrame* frame, 246 virtual void didCreateDataSource(blink::WebFrame* frame,
244 blink::WebDataSource* datasource); 247 blink::WebDataSource* datasource);
245 virtual void didStartProvisionalLoad(blink::WebFrame* frame); 248 virtual void didStartProvisionalLoad(blink::WebFrame* frame);
246 virtual void didReceiveServerRedirectForProvisionalLoad( 249 virtual void didReceiveServerRedirectForProvisionalLoad(
247 blink::WebFrame* frame); 250 blink::WebFrame* frame);
248 virtual void didFailProvisionalLoad( 251 virtual void didFailProvisionalLoad(
249 blink::WebFrame* frame, 252 blink::WebFrame* frame,
250 const blink::WebURLError& error); 253 const blink::WebURLError& error);
254 virtual void didCommitProvisionalLoad(
255 blink::WebFrame* frame,
256 const blink::WebHistoryItem& item,
257 blink::WebHistoryCommitType commit_type);
258 // DEPRECATED
251 virtual void didCommitProvisionalLoad(blink::WebFrame* frame, 259 virtual void didCommitProvisionalLoad(blink::WebFrame* frame,
252 bool is_new_navigation); 260 bool is_new_navigation);
253 virtual void didClearWindowObject(blink::WebFrame* frame, int world_id); 261 virtual void didClearWindowObject(blink::WebFrame* frame, int world_id);
254 virtual void didCreateDocumentElement(blink::WebFrame* frame); 262 virtual void didCreateDocumentElement(blink::WebFrame* frame);
255 virtual void didReceiveTitle(blink::WebFrame* frame, 263 virtual void didReceiveTitle(blink::WebFrame* frame,
256 const blink::WebString& title, 264 const blink::WebString& title,
257 blink::WebTextDirection direction); 265 blink::WebTextDirection direction);
258 virtual void didChangeIcon(blink::WebFrame* frame, 266 virtual void didChangeIcon(blink::WebFrame* frame,
259 blink::WebIconURL::Type icon_type); 267 blink::WebIconURL::Type icon_type);
260 virtual void didFinishDocumentLoad(blink::WebFrame* frame); 268 virtual void didFinishDocumentLoad(blink::WebFrame* frame);
261 virtual void didHandleOnloadEvents(blink::WebFrame* frame); 269 virtual void didHandleOnloadEvents(blink::WebFrame* frame);
262 virtual void didFailLoad(blink::WebFrame* frame, 270 virtual void didFailLoad(blink::WebFrame* frame,
263 const blink::WebURLError& error); 271 const blink::WebURLError& error);
264 virtual void didFinishLoad(blink::WebFrame* frame); 272 virtual void didFinishLoad(blink::WebFrame* frame);
265 virtual void didNavigateWithinPage(blink::WebFrame* frame, 273 virtual void didNavigateWithinPage(blink::WebFrame* frame,
274 const blink::WebHistoryItem& item,
275 blink::WebHistoryCommitType commit_type);
276 // DEPRECATED
277 virtual void didNavigateWithinPage(blink::WebFrame* frame,
266 bool is_new_navigation); 278 bool is_new_navigation);
267 virtual void didUpdateCurrentHistoryItem(blink::WebFrame* frame); 279 virtual void didUpdateCurrentHistoryItem(blink::WebFrame* frame);
268 virtual void didChangeSelection(bool is_empty_selection); 280 virtual void didChangeSelection(bool is_empty_selection);
269 virtual void showContextMenu(const blink::WebContextMenuData& data); 281 virtual void showContextMenu(const blink::WebContextMenuData& data);
270 virtual void clearContextMenu(); 282 virtual void clearContextMenu();
271 virtual void willRequestAfterPreconnect(blink::WebFrame* frame, 283 virtual void willRequestAfterPreconnect(blink::WebFrame* frame,
272 blink::WebURLRequest& request); 284 blink::WebURLRequest& request);
273 virtual void willSendRequest( 285 virtual void willSendRequest(
274 blink::WebFrame* frame, 286 blink::WebFrame* frame,
275 unsigned identifier, 287 unsigned identifier,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 // Used to inform didChangeSelection() when it is called in the context 495 // Used to inform didChangeSelection() when it is called in the context
484 // of handling a InputMsg_SelectRange IPC. 496 // of handling a InputMsg_SelectRange IPC.
485 bool handling_select_range_; 497 bool handling_select_range_;
486 498
487 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 499 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
488 }; 500 };
489 501
490 } // namespace content 502 } // namespace content
491 503
492 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 504 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698