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

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

Issue 231903002: Remove WebFrameClient stubs from RenderViewImpl. (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_view_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 (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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 518
519 // Only used on Android since all other platforms implement 519 // Only used on Android since all other platforms implement
520 // date and time input fields using MULTIPLE_FIELDS_UI 520 // date and time input fields using MULTIPLE_FIELDS_UI
521 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, 521 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&,
522 blink::WebDateTimeChooserCompletion*); 522 blink::WebDateTimeChooserCompletion*);
523 virtual void didScrollWithKeyboard(const blink::WebSize& delta); 523 virtual void didScrollWithKeyboard(const blink::WebSize& delta);
524 #endif 524 #endif
525 525
526 // blink::WebFrameClient implementation ------------------------------------- 526 // blink::WebFrameClient implementation -------------------------------------
527 527
528 virtual blink::WebMediaPlayer* createMediaPlayer(
529 blink::WebLocalFrame* frame,
530 const blink::WebURL& url,
531 blink::WebMediaPlayerClient* client);
532 virtual void didAccessInitialDocument(blink::WebLocalFrame* frame); 528 virtual void didAccessInitialDocument(blink::WebLocalFrame* frame);
533 virtual void didDisownOpener(blink::WebLocalFrame* frame); 529 virtual void didDisownOpener(blink::WebLocalFrame* frame);
534 virtual void frameDetached(blink::WebFrame* frame); 530 virtual void frameDetached(blink::WebFrame* frame);
535 virtual void willClose(blink::WebFrame* frame); 531 virtual void willClose(blink::WebFrame* frame);
536 virtual void didMatchCSS( 532 virtual void didMatchCSS(
537 blink::WebLocalFrame* frame, 533 blink::WebLocalFrame* frame,
538 const blink::WebVector<blink::WebString>& newly_matching_selectors, 534 const blink::WebVector<blink::WebString>& newly_matching_selectors,
539 const blink::WebVector<blink::WebString>& stopped_matching_selectors); 535 const blink::WebVector<blink::WebString>& stopped_matching_selectors);
540 virtual void willSendSubmitEvent(blink::WebLocalFrame* frame, 536 virtual void willSendSubmitEvent(blink::WebLocalFrame* frame,
541 const blink::WebFormElement& form); 537 const blink::WebFormElement& form);
542 virtual void willSubmitForm(blink::WebLocalFrame* frame, 538 virtual void willSubmitForm(blink::WebLocalFrame* frame,
543 const blink::WebFormElement& form); 539 const blink::WebFormElement& form);
544 virtual void didCreateDataSource(blink::WebLocalFrame* frame, 540 virtual void didCreateDataSource(blink::WebLocalFrame* frame,
545 blink::WebDataSource* datasource); 541 blink::WebDataSource* datasource);
546 virtual void didStartProvisionalLoad(blink::WebLocalFrame* frame); 542 virtual void didStartProvisionalLoad(blink::WebLocalFrame* frame);
547 virtual void didFailProvisionalLoad(blink::WebLocalFrame* frame, 543 virtual void didFailProvisionalLoad(blink::WebLocalFrame* frame,
548 const blink::WebURLError& error); 544 const blink::WebURLError& error);
549 virtual void didClearWindowObject(blink::WebLocalFrame* frame, int world_id); 545 virtual void didClearWindowObject(blink::WebLocalFrame* frame, int world_id);
550 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame); 546 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame);
551 virtual void didReceiveTitle(blink::WebLocalFrame* frame, 547 virtual void didReceiveTitle(blink::WebLocalFrame* frame,
552 const blink::WebString& title, 548 const blink::WebString& title,
553 blink::WebTextDirection direction); 549 blink::WebTextDirection direction);
554 virtual void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); 550 virtual void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type);
555 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); 551 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame);
556 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); 552 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
557 virtual void didFailLoad(blink::WebLocalFrame* frame, 553 virtual void didFailLoad(blink::WebLocalFrame* frame,
558 const blink::WebURLError& error); 554 const blink::WebURLError& error);
559 virtual void didFinishLoad(blink::WebLocalFrame* frame); 555 virtual void didFinishLoad(blink::WebLocalFrame* frame);
560 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); 556 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
561 virtual void willSendRequest(blink::WebLocalFrame* frame,
562 unsigned identifier,
563 blink::WebURLRequest& request,
564 const blink::WebURLResponse& redirect_response);
565 virtual void didReceiveResponse(blink::WebLocalFrame* frame,
566 unsigned identifier,
567 const blink::WebURLResponse& response);
568 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, 557 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame,
569 unsigned identifier); 558 unsigned identifier);
570 virtual void didLoadResourceFromMemoryCache(
571 blink::WebLocalFrame* frame,
572 const blink::WebURLRequest& request,
573 const blink::WebURLResponse&);
574 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame);
575 virtual void didRunInsecureContent(blink::WebLocalFrame* frame,
576 const blink::WebSecurityOrigin& origin,
577 const blink::WebURL& target);
578 virtual void didCreateScriptContext(blink::WebLocalFrame* frame,
579 v8::Handle<v8::Context>,
580 int extension_group,
581 int world_id);
582 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame,
583 v8::Handle<v8::Context>,
584 int world_id);
585 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); 559 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame);
586 virtual void willInsertBody(blink::WebLocalFrame* frame);
587 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame*); 560 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame*);
588 virtual void didChangeContentsSize(blink::WebLocalFrame* frame, 561 virtual void didChangeContentsSize(blink::WebLocalFrame* frame,
589 const blink::WebSize& size); 562 const blink::WebSize& size);
590 virtual void reportFindInPageMatchCount(int request_id,
591 int count,
592 bool final_update);
593 virtual void reportFindInPageSelection(int request_id,
594 int active_match_ordinal,
595 const blink::WebRect& sel);
596 virtual void requestStorageQuota(blink::WebLocalFrame* frame,
597 blink::WebStorageQuotaType type,
598 unsigned long long requested_size,
599 blink::WebStorageQuotaCallbacks callbacks);
600 virtual void willOpenSocketStream(
601 blink::WebSocketStreamHandle* handle);
602 virtual void willStartUsingPeerConnectionHandler(
603 blink::WebLocalFrame* frame,
604 blink::WebRTCPeerConnectionHandler* handler);
605 virtual bool willCheckAndDispatchMessageEvent( 563 virtual bool willCheckAndDispatchMessageEvent(
606 blink::WebLocalFrame* sourceFrame, 564 blink::WebLocalFrame* sourceFrame,
607 blink::WebFrame* targetFrame, 565 blink::WebFrame* targetFrame,
608 blink::WebSecurityOrigin targetOrigin, 566 blink::WebSecurityOrigin targetOrigin,
609 blink::WebDOMMessageEvent event); 567 blink::WebDOMMessageEvent event);
610 virtual blink::WebString acceptLanguages(); 568 virtual blink::WebString acceptLanguages();
611 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame,
612 const blink::WebURL& url);
613 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame);
614 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value);
615 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame,
616 int arb_robustness_status_code);
617 569
618 // blink::WebPageSerializerClient implementation ---------------------------- 570 // blink::WebPageSerializerClient implementation ----------------------------
619 571
620 virtual void didSerializeDataForFrame( 572 virtual void didSerializeDataForFrame(
621 const blink::WebURL& frame_url, 573 const blink::WebURL& frame_url,
622 const blink::WebCString& data, 574 const blink::WebCString& data,
623 PageSerializationStatus status) OVERRIDE; 575 PageSerializationStatus status) OVERRIDE;
624 576
625 // RenderView implementation ------------------------------------------------- 577 // RenderView implementation -------------------------------------------------
626 578
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 // use the Observer interface to filter IPC messages and receive frame change 1344 // use the Observer interface to filter IPC messages and receive frame change
1393 // notifications. 1345 // notifications.
1394 // --------------------------------------------------------------------------- 1346 // ---------------------------------------------------------------------------
1395 1347
1396 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1348 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1397 }; 1349 };
1398 1350
1399 } // namespace content 1351 } // namespace content
1400 1352
1401 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1353 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698