| 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 void printPage(blink::WebFrame* frame); | 426 virtual void printPage(blink::WebLocalFrame* frame); |
| 429 virtual blink::WebNotificationPresenter* notificationPresenter(); | 427 virtual blink::WebNotificationPresenter* notificationPresenter(); |
| 430 virtual bool enumerateChosenDirectory( | 428 virtual bool enumerateChosenDirectory( |
| 431 const blink::WebString& path, | 429 const blink::WebString& path, |
| 432 blink::WebFileChooserCompletion* chooser_completion); | 430 blink::WebFileChooserCompletion* chooser_completion); |
| 433 virtual void didCancelCompositionOnSelectionChange(); | 431 virtual void didCancelCompositionOnSelectionChange(); |
| 434 virtual void didExecuteCommand(const blink::WebString& command_name); | 432 virtual void didExecuteCommand(const blink::WebString& command_name); |
| 435 virtual bool handleCurrentKeyboardEvent(); | 433 virtual bool handleCurrentKeyboardEvent(); |
| 436 virtual blink::WebColorChooser* createColorChooser( | 434 virtual blink::WebColorChooser* createColorChooser( |
| 437 blink::WebColorChooserClient*, | 435 blink::WebColorChooserClient*, |
| 438 const blink::WebColor& initial_color, | 436 const blink::WebColor& initial_color, |
| 439 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 437 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
| 440 virtual bool runFileChooser( | 438 virtual bool runFileChooser( |
| 441 const blink::WebFileChooserParams& params, | 439 const blink::WebFileChooserParams& params, |
| 442 blink::WebFileChooserCompletion* chooser_completion); | 440 blink::WebFileChooserCompletion* chooser_completion); |
| 443 virtual void runModalAlertDialog(blink::WebFrame* frame, | 441 virtual void runModalAlertDialog(blink::WebLocalFrame* frame, |
| 444 const blink::WebString& message); | 442 const blink::WebString& message); |
| 445 virtual bool runModalConfirmDialog(blink::WebFrame* frame, | 443 virtual bool runModalConfirmDialog(blink::WebLocalFrame* frame, |
| 446 const blink::WebString& message); | 444 const blink::WebString& message); |
| 447 virtual bool runModalPromptDialog(blink::WebFrame* frame, | 445 virtual bool runModalPromptDialog(blink::WebLocalFrame* frame, |
| 448 const blink::WebString& message, | 446 const blink::WebString& message, |
| 449 const blink::WebString& default_value, | 447 const blink::WebString& default_value, |
| 450 blink::WebString* actual_value); | 448 blink::WebString* actual_value); |
| 451 virtual bool runModalBeforeUnloadDialog(blink::WebFrame* frame, | 449 virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| 452 bool is_reload, | 450 bool is_reload, |
| 453 const blink::WebString& message); | 451 const blink::WebString& message); |
| 454 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, | 452 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, |
| 455 const blink::WebString& main_text, | 453 const blink::WebString& main_text, |
| 456 const blink::WebString& sub_text, | 454 const blink::WebString& sub_text, |
| 457 blink::WebTextDirection hint) OVERRIDE; | 455 blink::WebTextDirection hint) OVERRIDE; |
| 458 virtual void hideValidationMessage() OVERRIDE; | 456 virtual void hideValidationMessage() OVERRIDE; |
| 459 virtual void moveValidationMessage( | 457 virtual void moveValidationMessage( |
| 460 const blink::WebRect& anchor_in_root_view) OVERRIDE; | 458 const blink::WebRect& anchor_in_root_view) OVERRIDE; |
| 461 | 459 |
| 462 // DEPRECATED | 460 // DEPRECATED |
| 463 virtual bool runModalBeforeUnloadDialog(blink::WebFrame* frame, | 461 virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| 464 const blink::WebString& message); | 462 const blink::WebString& message); |
| 465 virtual void setStatusText(const blink::WebString& text); | 463 virtual void setStatusText(const blink::WebString& text); |
| 466 virtual void setMouseOverURL(const blink::WebURL& url); | 464 virtual void setMouseOverURL(const blink::WebURL& url); |
| 467 virtual void setKeyboardFocusURL(const blink::WebURL& url); | 465 virtual void setKeyboardFocusURL(const blink::WebURL& url); |
| 468 virtual void startDragging(blink::WebFrame* frame, | 466 virtual void startDragging(blink::WebLocalFrame* frame, |
| 469 const blink::WebDragData& data, | 467 const blink::WebDragData& data, |
| 470 blink::WebDragOperationsMask mask, | 468 blink::WebDragOperationsMask mask, |
| 471 const blink::WebImage& image, | 469 const blink::WebImage& image, |
| 472 const blink::WebPoint& imageOffset); | 470 const blink::WebPoint& imageOffset); |
| 473 virtual bool acceptsLoadDrops(); | 471 virtual bool acceptsLoadDrops(); |
| 474 virtual void focusNext(); | 472 virtual void focusNext(); |
| 475 virtual void focusPrevious(); | 473 virtual void focusPrevious(); |
| 476 virtual void focusedNodeChanged(const blink::WebNode& node); | 474 virtual void focusedNodeChanged(const blink::WebNode& node); |
| 477 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 475 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 478 virtual void didUpdateLayout(); | 476 virtual void didUpdateLayout(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // Only used on Android since all other platforms implement | 512 // Only used on Android since all other platforms implement |
| 515 // date and time input fields using MULTIPLE_FIELDS_UI | 513 // date and time input fields using MULTIPLE_FIELDS_UI |
| 516 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, | 514 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, |
| 517 blink::WebDateTimeChooserCompletion*); | 515 blink::WebDateTimeChooserCompletion*); |
| 518 virtual void didScrollWithKeyboard(const blink::WebSize& delta); | 516 virtual void didScrollWithKeyboard(const blink::WebSize& delta); |
| 519 #endif | 517 #endif |
| 520 | 518 |
| 521 // blink::WebFrameClient implementation ------------------------------------- | 519 // blink::WebFrameClient implementation ------------------------------------- |
| 522 | 520 |
| 523 virtual blink::WebMediaPlayer* createMediaPlayer( | 521 virtual blink::WebMediaPlayer* createMediaPlayer( |
| 524 blink::WebFrame* frame, | 522 blink::WebLocalFrame* frame, |
| 525 const blink::WebURL& url, | 523 const blink::WebURL& url, |
| 526 blink::WebMediaPlayerClient* client); | 524 blink::WebMediaPlayerClient* client); |
| 527 virtual void didAccessInitialDocument(blink::WebFrame* frame); | 525 virtual void didAccessInitialDocument(blink::WebLocalFrame* frame); |
| 528 virtual void didDisownOpener(blink::WebFrame* frame); | 526 virtual void didDisownOpener(blink::WebLocalFrame* frame); |
| 529 virtual void frameDetached(blink::WebFrame* frame); | 527 virtual void frameDetached(blink::WebFrame* frame); |
| 530 virtual void willClose(blink::WebFrame* frame); | 528 virtual void willClose(blink::WebFrame* frame); |
| 531 virtual void didMatchCSS( | 529 virtual void didMatchCSS( |
| 532 blink::WebFrame* frame, | 530 blink::WebLocalFrame* frame, |
| 533 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 531 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
| 534 const blink::WebVector<blink::WebString>& stopped_matching_selectors); | 532 const blink::WebVector<blink::WebString>& stopped_matching_selectors); |
| 535 virtual void willSendSubmitEvent(blink::WebFrame* frame, | 533 virtual void willSendSubmitEvent(blink::WebLocalFrame* frame, |
| 536 const blink::WebFormElement& form); | 534 const blink::WebFormElement& form); |
| 537 virtual void willSubmitForm(blink::WebFrame* frame, | 535 virtual void willSubmitForm(blink::WebLocalFrame* frame, |
| 538 const blink::WebFormElement& form); | 536 const blink::WebFormElement& form); |
| 539 virtual void didCreateDataSource(blink::WebFrame* frame, | 537 virtual void didCreateDataSource(blink::WebLocalFrame* frame, |
| 540 blink::WebDataSource* datasource); | 538 blink::WebDataSource* datasource); |
| 541 virtual void didStartProvisionalLoad(blink::WebFrame* frame); | 539 virtual void didStartProvisionalLoad(blink::WebLocalFrame* frame); |
| 542 virtual void didFailProvisionalLoad(blink::WebFrame* frame, | 540 virtual void didFailProvisionalLoad(blink::WebLocalFrame* frame, |
| 543 const blink::WebURLError& error); | 541 const blink::WebURLError& error); |
| 544 virtual void didCommitProvisionalLoad(blink::WebFrame* frame, | 542 virtual void didCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 545 bool is_new_navigation); | 543 bool is_new_navigation); |
| 546 virtual void didClearWindowObject(blink::WebFrame* frame, int world_id); | 544 virtual void didClearWindowObject(blink::WebLocalFrame* frame, int world_id); |
| 547 virtual void didCreateDocumentElement(blink::WebFrame* frame); | 545 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame); |
| 548 virtual void didReceiveTitle(blink::WebFrame* frame, | 546 virtual void didReceiveTitle(blink::WebLocalFrame* frame, |
| 549 const blink::WebString& title, | 547 const blink::WebString& title, |
| 550 blink::WebTextDirection direction); | 548 blink::WebTextDirection direction); |
| 551 virtual void didChangeIcon(blink::WebFrame*, | 549 virtual void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); |
| 552 blink::WebIconURL::Type); | 550 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); |
| 553 virtual void didFinishDocumentLoad(blink::WebFrame* frame); | 551 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); |
| 554 virtual void didHandleOnloadEvents(blink::WebFrame* frame); | 552 virtual void didFailLoad(blink::WebLocalFrame* frame, |
| 555 virtual void didFailLoad(blink::WebFrame* frame, | |
| 556 const blink::WebURLError& error); | 553 const blink::WebURLError& error); |
| 557 virtual void didFinishLoad(blink::WebFrame* frame); | 554 virtual void didFinishLoad(blink::WebLocalFrame* frame); |
| 558 virtual void didNavigateWithinPage(blink::WebFrame* frame, | 555 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, |
| 559 bool is_new_navigation); | 556 bool is_new_navigation); |
| 560 virtual void didUpdateCurrentHistoryItem(blink::WebFrame* frame); | 557 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); |
| 561 virtual void willSendRequest(blink::WebFrame* frame, | 558 virtual void willSendRequest(blink::WebLocalFrame* frame, |
| 562 unsigned identifier, | 559 unsigned identifier, |
| 563 blink::WebURLRequest& request, | 560 blink::WebURLRequest& request, |
| 564 const blink::WebURLResponse& redirect_response); | 561 const blink::WebURLResponse& redirect_response); |
| 565 virtual void didReceiveResponse(blink::WebFrame* frame, | 562 virtual void didReceiveResponse(blink::WebLocalFrame* frame, |
| 566 unsigned identifier, | 563 unsigned identifier, |
| 567 const blink::WebURLResponse& response); | 564 const blink::WebURLResponse& response); |
| 568 virtual void didFinishResourceLoad(blink::WebFrame* frame, | 565 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
| 569 unsigned identifier); | 566 unsigned identifier); |
| 570 virtual void didLoadResourceFromMemoryCache( | 567 virtual void didLoadResourceFromMemoryCache( |
| 571 blink::WebFrame* frame, | 568 blink::WebLocalFrame* frame, |
| 572 const blink::WebURLRequest& request, | 569 const blink::WebURLRequest& request, |
| 573 const blink::WebURLResponse&); | 570 const blink::WebURLResponse&); |
| 574 virtual void didDisplayInsecureContent(blink::WebFrame* frame); | 571 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); |
| 575 virtual void didRunInsecureContent( | 572 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, |
| 576 blink::WebFrame* frame, | 573 const blink::WebSecurityOrigin& origin, |
| 577 const blink::WebSecurityOrigin& origin, | 574 const blink::WebURL& target); |
| 578 const blink::WebURL& target); | 575 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, |
| 579 virtual void didCreateScriptContext(blink::WebFrame* frame, | |
| 580 v8::Handle<v8::Context>, | 576 v8::Handle<v8::Context>, |
| 581 int extension_group, | 577 int extension_group, |
| 582 int world_id); | 578 int world_id); |
| 583 virtual void willReleaseScriptContext(blink::WebFrame* frame, | 579 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, |
| 584 v8::Handle<v8::Context>, | 580 v8::Handle<v8::Context>, |
| 585 int world_id); | 581 int world_id); |
| 586 virtual void didChangeScrollOffset(blink::WebFrame* frame); | 582 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); |
| 587 virtual void willInsertBody(blink::WebFrame* frame); | 583 virtual void willInsertBody(blink::WebLocalFrame* frame); |
| 588 virtual void didFirstVisuallyNonEmptyLayout(blink::WebFrame*); | 584 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame*); |
| 589 virtual void didChangeContentsSize(blink::WebFrame* frame, | 585 virtual void didChangeContentsSize(blink::WebLocalFrame* frame, |
| 590 const blink::WebSize& size); | 586 const blink::WebSize& size); |
| 591 virtual void reportFindInPageMatchCount(int request_id, | 587 virtual void reportFindInPageMatchCount(int request_id, |
| 592 int count, | 588 int count, |
| 593 bool final_update); | 589 bool final_update); |
| 594 virtual void reportFindInPageSelection(int request_id, | 590 virtual void reportFindInPageSelection(int request_id, |
| 595 int active_match_ordinal, | 591 int active_match_ordinal, |
| 596 const blink::WebRect& sel); | 592 const blink::WebRect& sel); |
| 597 virtual void requestStorageQuota( | 593 virtual void requestStorageQuota(blink::WebLocalFrame* frame, |
| 598 blink::WebFrame* frame, | 594 blink::WebStorageQuotaType type, |
| 599 blink::WebStorageQuotaType type, | 595 unsigned long long requested_size, |
| 600 unsigned long long requested_size, | 596 blink::WebStorageQuotaCallbacks callbacks); |
| 601 blink::WebStorageQuotaCallbacks callbacks); | |
| 602 virtual void willOpenSocketStream( | 597 virtual void willOpenSocketStream( |
| 603 blink::WebSocketStreamHandle* handle); | 598 blink::WebSocketStreamHandle* handle); |
| 604 virtual void willStartUsingPeerConnectionHandler(blink::WebFrame* frame, | 599 virtual void willStartUsingPeerConnectionHandler( |
| 600 blink::WebLocalFrame* frame, |
| 605 blink::WebRTCPeerConnectionHandler* handler); | 601 blink::WebRTCPeerConnectionHandler* handler); |
| 606 virtual bool willCheckAndDispatchMessageEvent( | 602 virtual bool willCheckAndDispatchMessageEvent( |
| 607 blink::WebFrame* sourceFrame, | 603 blink::WebLocalFrame* sourceFrame, |
| 608 blink::WebFrame* targetFrame, | 604 blink::WebFrame* targetFrame, |
| 609 blink::WebSecurityOrigin targetOrigin, | 605 blink::WebSecurityOrigin targetOrigin, |
| 610 blink::WebDOMMessageEvent event); | 606 blink::WebDOMMessageEvent event); |
| 611 virtual blink::WebString acceptLanguages(); | 607 virtual blink::WebString acceptLanguages(); |
| 612 virtual blink::WebString userAgentOverride( | 608 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, |
| 613 blink::WebFrame* frame, | 609 const blink::WebURL& url); |
| 614 const blink::WebURL& url); | 610 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); |
| 615 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame); | 611 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); |
| 616 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value); | 612 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, |
| 617 virtual void didLoseWebGLContext( | 613 int arb_robustness_status_code); |
| 618 blink::WebFrame* frame, | |
| 619 int arb_robustness_status_code); | |
| 620 | 614 |
| 621 // blink::WebPageSerializerClient implementation ---------------------------- | 615 // blink::WebPageSerializerClient implementation ---------------------------- |
| 622 | 616 |
| 623 virtual void didSerializeDataForFrame( | 617 virtual void didSerializeDataForFrame( |
| 624 const blink::WebURL& frame_url, | 618 const blink::WebURL& frame_url, |
| 625 const blink::WebCString& data, | 619 const blink::WebCString& data, |
| 626 PageSerializationStatus status) OVERRIDE; | 620 PageSerializationStatus status) OVERRIDE; |
| 627 | 621 |
| 628 // RenderView implementation ------------------------------------------------- | 622 // RenderView implementation ------------------------------------------------- |
| 629 | 623 |
| 630 virtual bool Send(IPC::Message* message) OVERRIDE; | 624 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 631 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; | 625 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; |
| 632 virtual int GetRoutingID() const OVERRIDE; | 626 virtual int GetRoutingID() const OVERRIDE; |
| 633 virtual int GetPageId() const OVERRIDE; | 627 virtual int GetPageId() const OVERRIDE; |
| 634 virtual gfx::Size GetSize() const OVERRIDE; | 628 virtual gfx::Size GetSize() const OVERRIDE; |
| 635 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; | 629 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; |
| 636 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; | 630 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; |
| 637 virtual blink::WebView* GetWebView() OVERRIDE; | 631 virtual blink::WebView* GetWebView() OVERRIDE; |
| 638 virtual blink::WebElement GetFocusedElement() const OVERRIDE; | 632 virtual blink::WebElement GetFocusedElement() const OVERRIDE; |
| 639 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; | 633 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; |
| 640 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; | 634 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; |
| 641 virtual int GetEnabledBindings() const OVERRIDE; | 635 virtual int GetEnabledBindings() const OVERRIDE; |
| 642 virtual bool GetContentStateImmediately() const OVERRIDE; | 636 virtual bool GetContentStateImmediately() const OVERRIDE; |
| 643 virtual float GetFilteredTimePerFrame() const OVERRIDE; | 637 virtual float GetFilteredTimePerFrame() const OVERRIDE; |
| 644 virtual blink::WebPageVisibilityState GetVisibilityState() const OVERRIDE; | 638 virtual blink::WebPageVisibilityState GetVisibilityState() const OVERRIDE; |
| 645 virtual void RunModalAlertDialog(blink::WebFrame* frame, | 639 virtual void RunModalAlertDialog(blink::WebLocalFrame* frame, |
| 646 const blink::WebString& message) OVERRIDE; | 640 const blink::WebString& message) OVERRIDE; |
| 647 virtual void DidStartLoading() OVERRIDE; | 641 virtual void DidStartLoading() OVERRIDE; |
| 648 virtual void DidStopLoading() OVERRIDE; | 642 virtual void DidStopLoading() OVERRIDE; |
| 649 virtual void Repaint(const gfx::Size& size) OVERRIDE; | 643 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
| 650 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 644 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 651 const std::string& value) OVERRIDE; | 645 const std::string& value) OVERRIDE; |
| 652 virtual void ClearEditCommands() OVERRIDE; | 646 virtual void ClearEditCommands() OVERRIDE; |
| 653 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; | 647 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; |
| 654 virtual const std::string& GetAcceptLanguages() const OVERRIDE; | 648 virtual const std::string& GetAcceptLanguages() const OVERRIDE; |
| 655 #if defined(OS_ANDROID) | 649 #if defined(OS_ANDROID) |
| (...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1406 // use the Observer interface to filter IPC messages and receive frame change | 1400 // use the Observer interface to filter IPC messages and receive frame change |
| 1407 // notifications. | 1401 // notifications. |
| 1408 // --------------------------------------------------------------------------- | 1402 // --------------------------------------------------------------------------- |
| 1409 | 1403 |
| 1410 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1404 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1411 }; | 1405 }; |
| 1412 | 1406 |
| 1413 } // namespace content | 1407 } // namespace content |
| 1414 | 1408 |
| 1415 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1409 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |