| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 void ResetPendingUpload(); | 597 void ResetPendingUpload(); |
| 598 | 598 |
| 599 // Exposes the DOMAutomationController object that allows JS to send | 599 // Exposes the DOMAutomationController object that allows JS to send |
| 600 // information to the browser process. | 600 // information to the browser process. |
| 601 void BindDOMAutomationController(WebFrame* webframe); | 601 void BindDOMAutomationController(WebFrame* webframe); |
| 602 | 602 |
| 603 // Creates DevToolsClient and sets up JavaScript bindings for developer tools | 603 // Creates DevToolsClient and sets up JavaScript bindings for developer tools |
| 604 // UI that is going to be hosted by this RenderView. | 604 // UI that is going to be hosted by this RenderView. |
| 605 void CreateDevToolsClient(); | 605 void CreateDevToolsClient(); |
| 606 | 606 |
| 607 // Called by RenderWidget after it paints. | |
| 608 virtual void DidPaint(); | |
| 609 | |
| 610 // Locates a sub frame with given xpath | 607 // Locates a sub frame with given xpath |
| 611 WebFrame* GetChildFrame(const std::wstring& frame_xpath) const; | 608 WebFrame* GetChildFrame(const std::wstring& frame_xpath) const; |
| 612 | 609 |
| 613 std::string GetAltHTMLForTemplate(const DictionaryValue& error_strings, | 610 std::string GetAltHTMLForTemplate(const DictionaryValue& error_strings, |
| 614 int template_resource_id) const; | 611 int template_resource_id) const; |
| 615 | 612 |
| 616 virtual void DidAddHistoryItem(); | 613 virtual void DidAddHistoryItem(); |
| 617 | 614 |
| 618 // Decodes a data: URL image or returns an empty image in case of failure. | 615 // Decodes a data: URL image or returns an empty image in case of failure. |
| 619 SkBitmap ImageFromDataUrl(const GURL&) const; | 616 SkBitmap ImageFromDataUrl(const GURL&) const; |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 class NavigationState; | 801 class NavigationState; |
| 805 scoped_ptr<NavigationState> pending_navigation_state_; | 802 scoped_ptr<NavigationState> pending_navigation_state_; |
| 806 | 803 |
| 807 // Need for printing | 804 // Need for printing |
| 808 scoped_ptr<PrintWebViewHelper> print_render_view_; | 805 scoped_ptr<PrintWebViewHelper> print_render_view_; |
| 809 | 806 |
| 810 DISALLOW_COPY_AND_ASSIGN(RenderView); | 807 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 811 }; | 808 }; |
| 812 | 809 |
| 813 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 810 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |