| OLD | NEW |
| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 WindowSnapshotCallback; | 346 WindowSnapshotCallback; |
| 347 | 347 |
| 348 void GetWindowSnapshot(const WindowSnapshotCallback& callback); | 348 void GetWindowSnapshot(const WindowSnapshotCallback& callback); |
| 349 | 349 |
| 350 // Dispatches the current navigation state to the browser. Called on a | 350 // Dispatches the current navigation state to the browser. Called on a |
| 351 // periodic timer so we don't send too many messages. | 351 // periodic timer so we don't send too many messages. |
| 352 void SyncNavigationState(); | 352 void SyncNavigationState(); |
| 353 | 353 |
| 354 // Temporary call until all this media code moves to RenderFrame. | 354 // Temporary call until all this media code moves to RenderFrame. |
| 355 // TODO(jam): remove me | 355 // TODO(jam): remove me |
| 356 blink::WebMediaPlayer* CreateMediaPlayer( | 356 blink::WebMediaPlayer* CreateMediaPlayer(RenderFrame* render_frame, |
| 357 RenderFrame* render_frame, | 357 blink::WebLocalFrame* frame, |
| 358 blink::WebFrame* frame, | 358 const blink::WebURL& url, |
| 359 const blink::WebURL& url, | 359 blink::WebMediaPlayerClient* client); |
| 360 blink::WebMediaPlayerClient* client); | |
| 361 // Returns the length of the session history of this RenderView. Note that | 360 // Returns the length of the session history of this RenderView. Note that |
| 362 // this only coincides with the actual length of the session history if this | 361 // this only coincides with the actual length of the session history if this |
| 363 // RenderView is the currently active RenderView of a WebContents. | 362 // RenderView is the currently active RenderView of a WebContents. |
| 364 unsigned GetLocalSessionHistoryLengthForTesting() const; | 363 unsigned GetLocalSessionHistoryLengthForTesting() const; |
| 365 | 364 |
| 366 // Invokes OnSetFocus and marks the widget as active depending on the value | 365 // Invokes OnSetFocus and marks the widget as active depending on the value |
| 367 // of |enable|. This is used for layout tests that need to control the focus | 366 // of |enable|. This is used for layout tests that need to control the focus |
| 368 // synchronously from the renderer. | 367 // synchronously from the renderer. |
| 369 void SetFocusAndActivateForTesting(bool enable); | 368 void SetFocusAndActivateForTesting(bool enable); |
| 370 | 369 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 // these changes s-chromium - https://codereview.chromium.org/137893025/. | 405 // these changes s-chromium - https://codereview.chromium.org/137893025/. |
| 407 // s-blink - https://codereview.chromium.org/138523003/ | 406 // s-blink - https://codereview.chromium.org/138523003/ |
| 408 virtual void didActivateCompositor(int input_handler_identifier); | 407 virtual void didActivateCompositor(int input_handler_identifier); |
| 409 virtual void didActivateCompositor() OVERRIDE; | 408 virtual void didActivateCompositor() OVERRIDE; |
| 410 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, | 409 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 411 bool event_cancelled) OVERRIDE; | 410 bool event_cancelled) OVERRIDE; |
| 412 virtual void initializeLayerTreeView() OVERRIDE; | 411 virtual void initializeLayerTreeView() OVERRIDE; |
| 413 | 412 |
| 414 // blink::WebViewClient implementation -------------------------------------- | 413 // blink::WebViewClient implementation -------------------------------------- |
| 415 | 414 |
| 416 virtual blink::WebView* createView( | 415 virtual blink::WebView* createView(blink::WebLocalFrame* creator, |
| 417 blink::WebFrame* creator, | 416 const blink::WebURLRequest& request, |
| 418 const blink::WebURLRequest& request, | 417 const blink::WebWindowFeatures& features, |
| 419 const blink::WebWindowFeatures& features, | 418 const blink::WebString& frame_name, |
| 420 const blink::WebString& frame_name, | 419 blink::WebNavigationPolicy policy, |
| 421 blink::WebNavigationPolicy policy, | 420 bool suppress_opener); |
| 422 bool suppress_opener); | |
| 423 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); | 421 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); |
| 424 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( | 422 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( |
| 425 const blink::WebPopupMenuInfo& popup_menu_info, | 423 const blink::WebPopupMenuInfo& popup_menu_info, |
| 426 blink::WebExternalPopupMenuClient* popup_menu_client); | 424 blink::WebExternalPopupMenuClient* popup_menu_client); |
| 427 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); | 425 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
| 428 virtual bool shouldReportDetailedMessageForSource( | 426 virtual bool shouldReportDetailedMessageForSource( |
| 429 const blink::WebString& source); | 427 const blink::WebString& source); |
| 430 virtual void didAddMessageToConsole( | 428 virtual void didAddMessageToConsole( |
| 431 const blink::WebConsoleMessage& message, | 429 const blink::WebConsoleMessage& message, |
| 432 const blink::WebString& source_name, | 430 const blink::WebString& source_name, |
| 433 unsigned source_line, | 431 unsigned source_line, |
| 434 const blink::WebString& stack_trace); | 432 const blink::WebString& stack_trace); |
| 435 virtual void printPage(blink::WebFrame* frame); | 433 virtual void printPage(blink::WebLocalFrame* frame); |
| 436 virtual blink::WebNotificationPresenter* notificationPresenter(); | 434 virtual blink::WebNotificationPresenter* notificationPresenter(); |
| 437 virtual bool enumerateChosenDirectory( | 435 virtual bool enumerateChosenDirectory( |
| 438 const blink::WebString& path, | 436 const blink::WebString& path, |
| 439 blink::WebFileChooserCompletion* chooser_completion); | 437 blink::WebFileChooserCompletion* chooser_completion); |
| 440 virtual void didCancelCompositionOnSelectionChange(); | 438 virtual void didCancelCompositionOnSelectionChange(); |
| 441 virtual void didExecuteCommand(const blink::WebString& command_name); | 439 virtual void didExecuteCommand(const blink::WebString& command_name); |
| 442 virtual bool handleCurrentKeyboardEvent(); | 440 virtual bool handleCurrentKeyboardEvent(); |
| 443 virtual blink::WebColorChooser* createColorChooser( | 441 virtual blink::WebColorChooser* createColorChooser( |
| 444 blink::WebColorChooserClient*, | 442 blink::WebColorChooserClient*, |
| 445 const blink::WebColor& initial_color, | 443 const blink::WebColor& initial_color, |
| 446 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 444 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
| 447 virtual bool runFileChooser( | 445 virtual bool runFileChooser( |
| 448 const blink::WebFileChooserParams& params, | 446 const blink::WebFileChooserParams& params, |
| 449 blink::WebFileChooserCompletion* chooser_completion); | 447 blink::WebFileChooserCompletion* chooser_completion); |
| 450 virtual void runModalAlertDialog(blink::WebFrame* frame, | 448 virtual void runModalAlertDialog(blink::WebLocalFrame* frame, |
| 451 const blink::WebString& message); | 449 const blink::WebString& message); |
| 452 virtual bool runModalConfirmDialog(blink::WebFrame* frame, | 450 virtual bool runModalConfirmDialog(blink::WebLocalFrame* frame, |
| 453 const blink::WebString& message); | 451 const blink::WebString& message); |
| 454 virtual bool runModalPromptDialog(blink::WebFrame* frame, | 452 virtual bool runModalPromptDialog(blink::WebLocalFrame* frame, |
| 455 const blink::WebString& message, | 453 const blink::WebString& message, |
| 456 const blink::WebString& default_value, | 454 const blink::WebString& default_value, |
| 457 blink::WebString* actual_value); | 455 blink::WebString* actual_value); |
| 458 virtual bool runModalBeforeUnloadDialog(blink::WebFrame* frame, | 456 virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| 459 bool is_reload, | 457 bool is_reload, |
| 460 const blink::WebString& message); | 458 const blink::WebString& message); |
| 461 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, | 459 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, |
| 462 const blink::WebString& main_text, | 460 const blink::WebString& main_text, |
| 463 const blink::WebString& sub_text, | 461 const blink::WebString& sub_text, |
| 464 blink::WebTextDirection hint) OVERRIDE; | 462 blink::WebTextDirection hint) OVERRIDE; |
| 465 virtual void hideValidationMessage() OVERRIDE; | 463 virtual void hideValidationMessage() OVERRIDE; |
| 466 virtual void moveValidationMessage( | 464 virtual void moveValidationMessage( |
| 467 const blink::WebRect& anchor_in_root_view) OVERRIDE; | 465 const blink::WebRect& anchor_in_root_view) OVERRIDE; |
| 468 | 466 |
| 469 // DEPRECATED | 467 // DEPRECATED |
| 470 virtual bool runModalBeforeUnloadDialog(blink::WebFrame* frame, | 468 virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| 471 const blink::WebString& message); | 469 const blink::WebString& message); |
| 472 virtual void setStatusText(const blink::WebString& text); | 470 virtual void setStatusText(const blink::WebString& text); |
| 473 virtual void setMouseOverURL(const blink::WebURL& url); | 471 virtual void setMouseOverURL(const blink::WebURL& url); |
| 474 virtual void setKeyboardFocusURL(const blink::WebURL& url); | 472 virtual void setKeyboardFocusURL(const blink::WebURL& url); |
| 475 virtual void startDragging(blink::WebFrame* frame, | 473 virtual void startDragging(blink::WebLocalFrame* frame, |
| 476 const blink::WebDragData& data, | 474 const blink::WebDragData& data, |
| 477 blink::WebDragOperationsMask mask, | 475 blink::WebDragOperationsMask mask, |
| 478 const blink::WebImage& image, | 476 const blink::WebImage& image, |
| 479 const blink::WebPoint& imageOffset); | 477 const blink::WebPoint& imageOffset); |
| 480 virtual bool acceptsLoadDrops(); | 478 virtual bool acceptsLoadDrops(); |
| 481 virtual void focusNext(); | 479 virtual void focusNext(); |
| 482 virtual void focusPrevious(); | 480 virtual void focusPrevious(); |
| 483 virtual void focusedNodeChanged(const blink::WebNode& node); | 481 virtual void focusedNodeChanged(const blink::WebNode& node); |
| 484 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 482 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 485 virtual void didUpdateLayout(); | 483 virtual void didUpdateLayout(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 // Only used on Android since all other platforms implement | 519 // Only used on Android since all other platforms implement |
| 522 // date and time input fields using MULTIPLE_FIELDS_UI | 520 // date and time input fields using MULTIPLE_FIELDS_UI |
| 523 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, | 521 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, |
| 524 blink::WebDateTimeChooserCompletion*); | 522 blink::WebDateTimeChooserCompletion*); |
| 525 virtual void didScrollWithKeyboard(const blink::WebSize& delta); | 523 virtual void didScrollWithKeyboard(const blink::WebSize& delta); |
| 526 #endif | 524 #endif |
| 527 | 525 |
| 528 // blink::WebFrameClient implementation ------------------------------------- | 526 // blink::WebFrameClient implementation ------------------------------------- |
| 529 | 527 |
| 530 virtual blink::WebMediaPlayer* createMediaPlayer( | 528 virtual blink::WebMediaPlayer* createMediaPlayer( |
| 531 blink::WebFrame* frame, | 529 blink::WebLocalFrame* frame, |
| 532 const blink::WebURL& url, | 530 const blink::WebURL& url, |
| 533 blink::WebMediaPlayerClient* client); | 531 blink::WebMediaPlayerClient* client); |
| 534 virtual void didAccessInitialDocument(blink::WebFrame* frame); | 532 virtual void didAccessInitialDocument(blink::WebLocalFrame* frame); |
| 535 virtual void didDisownOpener(blink::WebFrame* frame); | 533 virtual void didDisownOpener(blink::WebLocalFrame* frame); |
| 536 virtual void frameDetached(blink::WebFrame* frame); | 534 virtual void frameDetached(blink::WebFrame* frame); |
| 537 virtual void willClose(blink::WebFrame* frame); | 535 virtual void willClose(blink::WebFrame* frame); |
| 538 virtual void didMatchCSS( | 536 virtual void didMatchCSS( |
| 539 blink::WebFrame* frame, | 537 blink::WebLocalFrame* frame, |
| 540 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 538 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
| 541 const blink::WebVector<blink::WebString>& stopped_matching_selectors); | 539 const blink::WebVector<blink::WebString>& stopped_matching_selectors); |
| 542 virtual void willSendSubmitEvent(blink::WebFrame* frame, | 540 virtual void willSendSubmitEvent(blink::WebLocalFrame* frame, |
| 543 const blink::WebFormElement& form); | 541 const blink::WebFormElement& form); |
| 544 virtual void willSubmitForm(blink::WebFrame* frame, | 542 virtual void willSubmitForm(blink::WebLocalFrame* frame, |
| 545 const blink::WebFormElement& form); | 543 const blink::WebFormElement& form); |
| 546 virtual void didCreateDataSource(blink::WebFrame* frame, | 544 virtual void didCreateDataSource(blink::WebLocalFrame* frame, |
| 547 blink::WebDataSource* datasource); | 545 blink::WebDataSource* datasource); |
| 548 virtual void didStartProvisionalLoad(blink::WebFrame* frame); | 546 virtual void didStartProvisionalLoad(blink::WebLocalFrame* frame); |
| 549 virtual void didFailProvisionalLoad(blink::WebFrame* frame, | 547 virtual void didFailProvisionalLoad(blink::WebLocalFrame* frame, |
| 550 const blink::WebURLError& error); | 548 const blink::WebURLError& error); |
| 551 virtual void didCommitProvisionalLoad(blink::WebFrame* frame, | 549 virtual void didCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 552 bool is_new_navigation); | 550 bool is_new_navigation); |
| 553 virtual void didClearWindowObject(blink::WebFrame* frame, int world_id); | 551 virtual void didClearWindowObject(blink::WebLocalFrame* frame, int world_id); |
| 554 virtual void didCreateDocumentElement(blink::WebFrame* frame); | 552 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame); |
| 555 virtual void didReceiveTitle(blink::WebFrame* frame, | 553 virtual void didReceiveTitle(blink::WebLocalFrame* frame, |
| 556 const blink::WebString& title, | 554 const blink::WebString& title, |
| 557 blink::WebTextDirection direction); | 555 blink::WebTextDirection direction); |
| 558 virtual void didChangeIcon(blink::WebFrame*, | 556 virtual void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); |
| 559 blink::WebIconURL::Type); | 557 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); |
| 560 virtual void didFinishDocumentLoad(blink::WebFrame* frame); | 558 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); |
| 561 virtual void didHandleOnloadEvents(blink::WebFrame* frame); | 559 virtual void didFailLoad(blink::WebLocalFrame* frame, |
| 562 virtual void didFailLoad(blink::WebFrame* frame, | |
| 563 const blink::WebURLError& error); | 560 const blink::WebURLError& error); |
| 564 virtual void didFinishLoad(blink::WebFrame* frame); | 561 virtual void didFinishLoad(blink::WebLocalFrame* frame); |
| 565 virtual void didNavigateWithinPage(blink::WebFrame* frame, | 562 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, |
| 566 bool is_new_navigation); | 563 bool is_new_navigation); |
| 567 virtual void didUpdateCurrentHistoryItem(blink::WebFrame* frame); | 564 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); |
| 568 virtual void willSendRequest(blink::WebFrame* frame, | 565 virtual void willSendRequest(blink::WebLocalFrame* frame, |
| 569 unsigned identifier, | 566 unsigned identifier, |
| 570 blink::WebURLRequest& request, | 567 blink::WebURLRequest& request, |
| 571 const blink::WebURLResponse& redirect_response); | 568 const blink::WebURLResponse& redirect_response); |
| 572 virtual void didReceiveResponse(blink::WebFrame* frame, | 569 virtual void didReceiveResponse(blink::WebLocalFrame* frame, |
| 573 unsigned identifier, | 570 unsigned identifier, |
| 574 const blink::WebURLResponse& response); | 571 const blink::WebURLResponse& response); |
| 575 virtual void didFinishResourceLoad(blink::WebFrame* frame, | 572 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
| 576 unsigned identifier); | 573 unsigned identifier); |
| 577 virtual void didLoadResourceFromMemoryCache( | 574 virtual void didLoadResourceFromMemoryCache( |
| 578 blink::WebFrame* frame, | 575 blink::WebLocalFrame* frame, |
| 579 const blink::WebURLRequest& request, | 576 const blink::WebURLRequest& request, |
| 580 const blink::WebURLResponse&); | 577 const blink::WebURLResponse&); |
| 581 virtual void didDisplayInsecureContent(blink::WebFrame* frame); | 578 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); |
| 582 virtual void didRunInsecureContent( | 579 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, |
| 583 blink::WebFrame* frame, | 580 const blink::WebSecurityOrigin& origin, |
| 584 const blink::WebSecurityOrigin& origin, | 581 const blink::WebURL& target); |
| 585 const blink::WebURL& target); | 582 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, |
| 586 virtual void didCreateScriptContext(blink::WebFrame* frame, | |
| 587 v8::Handle<v8::Context>, | 583 v8::Handle<v8::Context>, |
| 588 int extension_group, | 584 int extension_group, |
| 589 int world_id); | 585 int world_id); |
| 590 virtual void willReleaseScriptContext(blink::WebFrame* frame, | 586 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, |
| 591 v8::Handle<v8::Context>, | 587 v8::Handle<v8::Context>, |
| 592 int world_id); | 588 int world_id); |
| 593 virtual void didChangeScrollOffset(blink::WebFrame* frame); | 589 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); |
| 594 virtual void willInsertBody(blink::WebFrame* frame); | 590 virtual void willInsertBody(blink::WebLocalFrame* frame); |
| 595 virtual void didFirstVisuallyNonEmptyLayout(blink::WebFrame*); | 591 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame*); |
| 596 virtual void didChangeContentsSize(blink::WebFrame* frame, | 592 virtual void didChangeContentsSize(blink::WebLocalFrame* frame, |
| 597 const blink::WebSize& size); | 593 const blink::WebSize& size); |
| 598 virtual void reportFindInPageMatchCount(int request_id, | 594 virtual void reportFindInPageMatchCount(int request_id, |
| 599 int count, | 595 int count, |
| 600 bool final_update); | 596 bool final_update); |
| 601 virtual void reportFindInPageSelection(int request_id, | 597 virtual void reportFindInPageSelection(int request_id, |
| 602 int active_match_ordinal, | 598 int active_match_ordinal, |
| 603 const blink::WebRect& sel); | 599 const blink::WebRect& sel); |
| 604 virtual void requestStorageQuota( | 600 virtual void requestStorageQuota(blink::WebLocalFrame* frame, |
| 605 blink::WebFrame* frame, | 601 blink::WebStorageQuotaType type, |
| 606 blink::WebStorageQuotaType type, | 602 unsigned long long requested_size, |
| 607 unsigned long long requested_size, | 603 blink::WebStorageQuotaCallbacks callbacks); |
| 608 blink::WebStorageQuotaCallbacks callbacks); | |
| 609 virtual void willOpenSocketStream( | 604 virtual void willOpenSocketStream( |
| 610 blink::WebSocketStreamHandle* handle); | 605 blink::WebSocketStreamHandle* handle); |
| 611 virtual void willStartUsingPeerConnectionHandler(blink::WebFrame* frame, | 606 virtual void willStartUsingPeerConnectionHandler( |
| 607 blink::WebLocalFrame* frame, |
| 612 blink::WebRTCPeerConnectionHandler* handler); | 608 blink::WebRTCPeerConnectionHandler* handler); |
| 613 virtual bool willCheckAndDispatchMessageEvent( | 609 virtual bool willCheckAndDispatchMessageEvent( |
| 614 blink::WebFrame* sourceFrame, | 610 blink::WebLocalFrame* sourceFrame, |
| 615 blink::WebFrame* targetFrame, | 611 blink::WebFrame* targetFrame, |
| 616 blink::WebSecurityOrigin targetOrigin, | 612 blink::WebSecurityOrigin targetOrigin, |
| 617 blink::WebDOMMessageEvent event); | 613 blink::WebDOMMessageEvent event); |
| 618 virtual blink::WebString acceptLanguages(); | 614 virtual blink::WebString acceptLanguages(); |
| 619 virtual blink::WebString userAgentOverride( | 615 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, |
| 620 blink::WebFrame* frame, | 616 const blink::WebURL& url); |
| 621 const blink::WebURL& url); | 617 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); |
| 622 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame); | 618 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); |
| 623 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value); | 619 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, |
| 624 virtual void didLoseWebGLContext( | 620 int arb_robustness_status_code); |
| 625 blink::WebFrame* frame, | |
| 626 int arb_robustness_status_code); | |
| 627 | 621 |
| 628 // blink::WebPageSerializerClient implementation ---------------------------- | 622 // blink::WebPageSerializerClient implementation ---------------------------- |
| 629 | 623 |
| 630 virtual void didSerializeDataForFrame( | 624 virtual void didSerializeDataForFrame( |
| 631 const blink::WebURL& frame_url, | 625 const blink::WebURL& frame_url, |
| 632 const blink::WebCString& data, | 626 const blink::WebCString& data, |
| 633 PageSerializationStatus status) OVERRIDE; | 627 PageSerializationStatus status) OVERRIDE; |
| 634 | 628 |
| 635 // RenderView implementation ------------------------------------------------- | 629 // RenderView implementation ------------------------------------------------- |
| 636 | 630 |
| 637 virtual bool Send(IPC::Message* message) OVERRIDE; | 631 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 638 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; | 632 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; |
| 639 virtual int GetRoutingID() const OVERRIDE; | 633 virtual int GetRoutingID() const OVERRIDE; |
| 640 virtual int GetPageId() const OVERRIDE; | 634 virtual int GetPageId() const OVERRIDE; |
| 641 virtual gfx::Size GetSize() const OVERRIDE; | 635 virtual gfx::Size GetSize() const OVERRIDE; |
| 642 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; | 636 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; |
| 643 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; | 637 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; |
| 644 virtual blink::WebView* GetWebView() OVERRIDE; | 638 virtual blink::WebView* GetWebView() OVERRIDE; |
| 645 virtual blink::WebElement GetFocusedElement() const OVERRIDE; | 639 virtual blink::WebElement GetFocusedElement() const OVERRIDE; |
| 646 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; | 640 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; |
| 647 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; | 641 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; |
| 648 virtual int GetEnabledBindings() const OVERRIDE; | 642 virtual int GetEnabledBindings() const OVERRIDE; |
| 649 virtual bool GetContentStateImmediately() const OVERRIDE; | 643 virtual bool GetContentStateImmediately() const OVERRIDE; |
| 650 virtual float GetFilteredTimePerFrame() const OVERRIDE; | 644 virtual float GetFilteredTimePerFrame() const OVERRIDE; |
| 651 virtual blink::WebPageVisibilityState GetVisibilityState() const OVERRIDE; | 645 virtual blink::WebPageVisibilityState GetVisibilityState() const OVERRIDE; |
| 652 virtual void RunModalAlertDialog(blink::WebFrame* frame, | 646 virtual void RunModalAlertDialog(blink::WebLocalFrame* frame, |
| 653 const blink::WebString& message) OVERRIDE; | 647 const blink::WebString& message) OVERRIDE; |
| 654 virtual void DidStartLoading() OVERRIDE; | 648 virtual void DidStartLoading() OVERRIDE; |
| 655 virtual void DidStopLoading() OVERRIDE; | 649 virtual void DidStopLoading() OVERRIDE; |
| 656 virtual void Repaint(const gfx::Size& size) OVERRIDE; | 650 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
| 657 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 651 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 658 const std::string& value) OVERRIDE; | 652 const std::string& value) OVERRIDE; |
| 659 virtual void ClearEditCommands() OVERRIDE; | 653 virtual void ClearEditCommands() OVERRIDE; |
| 660 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; | 654 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; |
| 661 virtual const std::string& GetAcceptLanguages() const OVERRIDE; | 655 virtual const std::string& GetAcceptLanguages() const OVERRIDE; |
| 662 #if defined(OS_ANDROID) | 656 #if defined(OS_ANDROID) |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 // use the Observer interface to filter IPC messages and receive frame change | 1410 // use the Observer interface to filter IPC messages and receive frame change |
| 1417 // notifications. | 1411 // notifications. |
| 1418 // --------------------------------------------------------------------------- | 1412 // --------------------------------------------------------------------------- |
| 1419 | 1413 |
| 1420 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1414 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1421 }; | 1415 }; |
| 1422 | 1416 |
| 1423 } // namespace content | 1417 } // namespace content |
| 1424 | 1418 |
| 1425 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1419 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |