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

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

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | 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"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 const blink::WebURLRequest& request, 420 const blink::WebURLRequest& request,
421 blink::WebNavigationPolicy policy, 421 blink::WebNavigationPolicy policy,
422 const blink::WebString& suggested_name) override; 422 const blink::WebString& suggested_name) override;
423 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass. 423 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass.
424 blink::WebNavigationPolicy decidePolicyForNavigation( 424 blink::WebNavigationPolicy decidePolicyForNavigation(
425 const NavigationPolicyInfo& info) override; 425 const NavigationPolicyInfo& info) override;
426 blink::WebHistoryItem historyItemForNewChildFrame( 426 blink::WebHistoryItem historyItemForNewChildFrame(
427 blink::WebFrame* frame) override; 427 blink::WebFrame* frame) override;
428 void willSendSubmitEvent(blink::WebLocalFrame* frame, 428 void willSendSubmitEvent(blink::WebLocalFrame* frame,
429 const blink::WebFormElement& form) override; 429 const blink::WebFormElement& form) override;
430 void willSubmitForm(blink::WebLocalFrame* frame, 430 void willSubmitForm(blink::WebDataSource* datasource,
431 const blink::WebFormElement& form) override; 431 const blink::WebFormElement& form) override;
432 void didCreateDataSource(blink::WebLocalFrame* frame, 432 void didCreateDataSource(blink::WebLocalFrame* frame,
433 blink::WebDataSource* datasource) override; 433 blink::WebDataSource* datasource) override;
434 void didStartProvisionalLoad(blink::WebLocalFrame* frame, 434 void didStartProvisionalLoad(blink::WebDataSource* datasource,
435 double triggering_event_time) override; 435 double triggering_event_time) override;
436 void didReceiveServerRedirectForProvisionalLoad( 436 void didReceiveServerRedirectForProvisionalLoad(
437 blink::WebLocalFrame* frame) override; 437 blink::WebLocalFrame* frame) override;
438 void didFailProvisionalLoad(blink::WebLocalFrame* frame, 438 void didFailProvisionalLoad(
439 const blink::WebURLError& error, 439 blink::WebDataSource* datasource,
440 blink::WebHistoryCommitType commit_type) override; 440 const blink::WebURLError& error,
441 blink::WebHistoryCommitType commit_type) override;
441 void didCommitProvisionalLoad( 442 void didCommitProvisionalLoad(
442 blink::WebLocalFrame* frame, 443 blink::WebLocalFrame* frame,
443 const blink::WebHistoryItem& item, 444 const blink::WebHistoryItem& item,
444 blink::WebHistoryCommitType commit_type) override; 445 blink::WebHistoryCommitType commit_type) override;
445 void didCreateNewDocument(blink::WebLocalFrame* frame) override; 446 void didCreateNewDocument(blink::WebLocalFrame* frame) override;
446 void didClearWindowObject(blink::WebLocalFrame* frame) override; 447 void didClearWindowObject(blink::WebLocalFrame* frame) override;
447 void didCreateDocumentElement(blink::WebLocalFrame* frame) override; 448 void didCreateDocumentElement(blink::WebLocalFrame* frame) override;
448 void didReceiveTitle(blink::WebLocalFrame* frame, 449 void didReceiveTitle(blink::WebLocalFrame* frame,
449 const blink::WebString& title, 450 const blink::WebString& title,
450 blink::WebTextDirection direction) override; 451 blink::WebTextDirection direction) override;
451 void didChangeIcon(blink::WebLocalFrame* frame, 452 void didChangeIcon(blink::WebLocalFrame* frame,
452 blink::WebIconURL::Type icon_type) override; 453 blink::WebIconURL::Type icon_type) override;
453 void didFinishDocumentLoad(blink::WebLocalFrame* frame, 454 void didFinishDocumentLoad(blink::WebLocalFrame* frame,
454 bool document_is_empty) override; 455 bool document_is_empty) override;
455 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override; 456 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override;
456 void didFailLoad(blink::WebLocalFrame* frame, 457 void didFailLoad(blink::WebDataSource* datasource,
457 const blink::WebURLError& error, 458 const blink::WebURLError& error,
458 blink::WebHistoryCommitType commit_type) override; 459 blink::WebHistoryCommitType commit_type) override;
459 void didFinishLoad(blink::WebLocalFrame* frame) override; 460 void didFinishLoad(blink::WebLocalFrame* frame) override;
460 void didNavigateWithinPage(blink::WebLocalFrame* frame, 461 void didNavigateWithinPage(blink::WebLocalFrame* frame,
461 const blink::WebHistoryItem& item, 462 const blink::WebHistoryItem& item,
462 blink::WebHistoryCommitType commit_type) override; 463 blink::WebHistoryCommitType commit_type) override;
463 void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame) override; 464 void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame) override;
464 void didChangeThemeColor() override; 465 void didChangeThemeColor() override;
465 void dispatchLoad() override; 466 void dispatchLoad() override;
466 void requestNotificationPermission( 467 void requestNotificationPermission(
467 const blink::WebSecurityOrigin& origin, 468 const blink::WebSecurityOrigin& origin,
468 blink::WebNotificationPermissionCallback* callback) override; 469 blink::WebNotificationPermissionCallback* callback) override;
469 void didChangeSelection(bool is_empty_selection) override; 470 void didChangeSelection(bool is_empty_selection) override;
470 blink::WebColorChooser* createColorChooser( 471 blink::WebColorChooser* createColorChooser(
471 blink::WebColorChooserClient* client, 472 blink::WebColorChooserClient* client,
472 const blink::WebColor& initial_color, 473 const blink::WebColor& initial_color,
473 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; 474 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override;
474 void runModalAlertDialog(const blink::WebString& message) override; 475 void runModalAlertDialog(const blink::WebString& message) override;
475 bool runModalConfirmDialog(const blink::WebString& message) override; 476 bool runModalConfirmDialog(const blink::WebString& message) override;
476 bool runModalPromptDialog(const blink::WebString& message, 477 bool runModalPromptDialog(const blink::WebString& message,
477 const blink::WebString& default_value, 478 const blink::WebString& default_value,
478 blink::WebString* actual_value) override; 479 blink::WebString* actual_value) override;
479 bool runModalBeforeUnloadDialog(bool is_reload, 480 bool runModalBeforeUnloadDialog(bool is_reload,
480 const blink::WebString& message) override; 481 const blink::WebString& message) override;
481 void showContextMenu(const blink::WebContextMenuData& data) override; 482 void showContextMenu(const blink::WebContextMenuData& data) override;
482 void clearContextMenu() override; 483 void clearContextMenu() override;
483 void willSendRequest(blink::WebLocalFrame* frame, 484 void willSendRequest(blink::WebDataSource* datasource,
484 unsigned identifier, 485 unsigned identifier,
485 blink::WebURLRequest& request, 486 blink::WebURLRequest& request,
486 const blink::WebURLResponse& redirect_response) override; 487 const blink::WebURLResponse& redirect_response) override;
487 void didReceiveResponse(blink::WebLocalFrame* frame, 488 void didReceiveResponse(blink::WebLocalFrame* frame,
488 unsigned identifier, 489 unsigned identifier,
489 const blink::WebURLResponse& response) override; 490 const blink::WebURLResponse& response) override;
490 void didLoadResourceFromMemoryCache( 491 void didLoadResourceFromMemoryCache(
491 blink::WebLocalFrame* frame, 492 blink::WebLocalFrame* frame,
492 const blink::WebURLRequest& request, 493 const blink::WebURLRequest& request,
493 const blink::WebURLResponse& response) override; 494 const blink::WebURLResponse& response) override;
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 #endif 1064 #endif
1064 1065
1065 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1066 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1066 1067
1067 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1068 }; 1069 };
1069 1070
1070 } // namespace content 1071 } // namespace content
1071 1072
1072 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1073 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698