| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 const char* data, size_t length, | 602 const char* data, size_t length, |
| 603 bool& prevent_default); | 603 bool& prevent_default); |
| 604 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame, | 604 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame, |
| 605 bool is_new_navigation); | 605 bool is_new_navigation); |
| 606 virtual void didClearWindowObject(WebKit::WebFrame* frame); | 606 virtual void didClearWindowObject(WebKit::WebFrame* frame); |
| 607 virtual void didCreateDocumentElement(WebKit::WebFrame* frame); | 607 virtual void didCreateDocumentElement(WebKit::WebFrame* frame); |
| 608 virtual void didReceiveTitle(WebKit::WebFrame* frame, | 608 virtual void didReceiveTitle(WebKit::WebFrame* frame, |
| 609 const WebKit::WebString& title, | 609 const WebKit::WebString& title, |
| 610 WebKit::WebTextDirection direction); | 610 WebKit::WebTextDirection direction); |
| 611 virtual void didChangeIcon(WebKit::WebFrame*, | 611 virtual void didChangeIcon(WebKit::WebFrame*, |
| 612 WebKit::WebIconURL::Type); | 612 WebKit::WebIconURL::Type) OVERRIDE; |
| 613 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame); | 613 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame); |
| 614 virtual void didHandleOnloadEvents(WebKit::WebFrame* frame); | 614 virtual void didHandleOnloadEvents(WebKit::WebFrame* frame); |
| 615 virtual void didFailLoad(WebKit::WebFrame* frame, | 615 virtual void didFailLoad(WebKit::WebFrame* frame, |
| 616 const WebKit::WebURLError& error); | 616 const WebKit::WebURLError& error); |
| 617 virtual void didFinishLoad(WebKit::WebFrame* frame); | 617 virtual void didFinishLoad(WebKit::WebFrame* frame); |
| 618 virtual void didNavigateWithinPage(WebKit::WebFrame* frame, | 618 virtual void didNavigateWithinPage(WebKit::WebFrame* frame, |
| 619 bool is_new_navigation); | 619 bool is_new_navigation); |
| 620 virtual void didUpdateCurrentHistoryItem(WebKit::WebFrame* frame); | 620 virtual void didUpdateCurrentHistoryItem(WebKit::WebFrame* frame); |
| 621 virtual void assignIdentifierToRequest(WebKit::WebFrame* frame, | 621 virtual void assignIdentifierToRequest(WebKit::WebFrame* frame, |
| 622 unsigned identifier, | 622 unsigned identifier, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 644 const WebKit::WebURL& target); | 644 const WebKit::WebURL& target); |
| 645 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 645 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
| 646 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 646 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
| 647 v8::Handle<v8::Context>, | 647 v8::Handle<v8::Context>, |
| 648 int extension_group, | 648 int extension_group, |
| 649 int world_id); | 649 int world_id); |
| 650 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 650 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
| 651 v8::Handle<v8::Context>, | 651 v8::Handle<v8::Context>, |
| 652 int world_id); | 652 int world_id); |
| 653 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 653 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
| 654 virtual void willInsertBody(WebKit::WebFrame* frame); | 654 virtual void willInsertBody(WebKit::WebFrame* frame) OVERRIDE; |
| 655 virtual void didFirstVisuallyNonEmptyLayout(WebKit::WebFrame*); | 655 virtual void didFirstVisuallyNonEmptyLayout(WebKit::WebFrame*) OVERRIDE; |
| 656 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 656 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
| 657 const WebKit::WebSize& size); | 657 const WebKit::WebSize& size); |
| 658 virtual void reportFindInPageMatchCount(int request_id, | 658 virtual void reportFindInPageMatchCount(int request_id, |
| 659 int count, | 659 int count, |
| 660 bool final_update); | 660 bool final_update); |
| 661 virtual void reportFindInPageSelection(int request_id, | 661 virtual void reportFindInPageSelection(int request_id, |
| 662 int active_match_ordinal, | 662 int active_match_ordinal, |
| 663 const WebKit::WebRect& sel); | 663 const WebKit::WebRect& sel); |
| 664 virtual void openFileSystem(WebKit::WebFrame* frame, | 664 virtual void openFileSystem(WebKit::WebFrame* frame, |
| 665 WebKit::WebFileSystemType type, | 665 WebKit::WebFileSystemType type, |
| 666 long long size, | 666 long long size, |
| 667 bool create, | 667 bool create, |
| 668 WebKit::WebFileSystemCallbacks* callbacks); | 668 WebKit::WebFileSystemCallbacks* callbacks); |
| 669 virtual void deleteFileSystem(WebKit::WebFrame* frame, | 669 virtual void deleteFileSystem(WebKit::WebFrame* frame, |
| 670 WebKit::WebFileSystemType type, | 670 WebKit::WebFileSystemType type, |
| 671 WebKit::WebFileSystemCallbacks* callbacks); | 671 WebKit::WebFileSystemCallbacks* callbacks); |
| 672 virtual void queryStorageUsageAndQuota( | 672 virtual void queryStorageUsageAndQuota( |
| 673 WebKit::WebFrame* frame, | 673 WebKit::WebFrame* frame, |
| 674 WebKit::WebStorageQuotaType type, | 674 WebKit::WebStorageQuotaType type, |
| 675 WebKit::WebStorageQuotaCallbacks* callbacks); | 675 WebKit::WebStorageQuotaCallbacks* callbacks); |
| 676 virtual void requestStorageQuota( | 676 virtual void requestStorageQuota( |
| 677 WebKit::WebFrame* frame, | 677 WebKit::WebFrame* frame, |
| 678 WebKit::WebStorageQuotaType type, | 678 WebKit::WebStorageQuotaType type, |
| 679 unsigned long long requested_size, | 679 unsigned long long requested_size, |
| 680 WebKit::WebStorageQuotaCallbacks* callbacks); | 680 WebKit::WebStorageQuotaCallbacks* callbacks); |
| 681 virtual void willOpenSocketStream( | 681 virtual void willOpenSocketStream( |
| 682 WebKit::WebSocketStreamHandle* handle); | 682 WebKit::WebSocketStreamHandle* handle); |
| 683 virtual void willStartUsingPeerConnectionHandler(WebKit::WebFrame* frame, | 683 virtual void willStartUsingPeerConnectionHandler(WebKit::WebFrame* frame, |
| 684 WebKit::WebRTCPeerConnectionHandler* handler); | 684 WebKit::WebRTCPeerConnectionHandler* handler) OVERRIDE; |
| 685 virtual bool willCheckAndDispatchMessageEvent( | 685 virtual bool willCheckAndDispatchMessageEvent( |
| 686 WebKit::WebFrame* sourceFrame, | 686 WebKit::WebFrame* sourceFrame, |
| 687 WebKit::WebFrame* targetFrame, | 687 WebKit::WebFrame* targetFrame, |
| 688 WebKit::WebSecurityOrigin targetOrigin, | 688 WebKit::WebSecurityOrigin targetOrigin, |
| 689 WebKit::WebDOMMessageEvent event); | 689 WebKit::WebDOMMessageEvent event) OVERRIDE; |
| 690 virtual WebKit::WebString acceptLanguages() OVERRIDE; | 690 virtual WebKit::WebString acceptLanguages() OVERRIDE; |
| 691 virtual WebKit::WebString userAgentOverride( | 691 virtual WebKit::WebString userAgentOverride( |
| 692 WebKit::WebFrame* frame, | 692 WebKit::WebFrame* frame, |
| 693 const WebKit::WebURL& url); | 693 const WebKit::WebURL& url) OVERRIDE; |
| 694 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame); | 694 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame) OVERRIDE; |
| 695 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value); | 695 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value) OVERRIDE; |
| 696 virtual void didLoseWebGLContext( | 696 virtual void didLoseWebGLContext( |
| 697 WebKit::WebFrame* frame, | 697 WebKit::WebFrame* frame, |
| 698 int arb_robustness_status_code); | 698 int arb_robustness_status_code) OVERRIDE; |
| 699 | 699 |
| 700 // WebKit::WebPageSerializerClient implementation ---------------------------- | 700 // WebKit::WebPageSerializerClient implementation ---------------------------- |
| 701 | 701 |
| 702 virtual void didSerializeDataForFrame( | 702 virtual void didSerializeDataForFrame( |
| 703 const WebKit::WebURL& frame_url, | 703 const WebKit::WebURL& frame_url, |
| 704 const WebKit::WebCString& data, | 704 const WebKit::WebCString& data, |
| 705 PageSerializationStatus status) OVERRIDE; | 705 PageSerializationStatus status) OVERRIDE; |
| 706 | 706 |
| 707 // RenderView implementation ------------------------------------------------- | 707 // RenderView implementation ------------------------------------------------- |
| 708 | 708 |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1573 // use the Observer interface to filter IPC messages and receive frame change | 1573 // use the Observer interface to filter IPC messages and receive frame change |
| 1574 // notifications. | 1574 // notifications. |
| 1575 // --------------------------------------------------------------------------- | 1575 // --------------------------------------------------------------------------- |
| 1576 | 1576 |
| 1577 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1577 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1578 }; | 1578 }; |
| 1579 | 1579 |
| 1580 } // namespace content | 1580 } // namespace content |
| 1581 | 1581 |
| 1582 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1582 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |