| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 void OnPagesReadyForPreview(int fd_in_browser); | 727 void OnPagesReadyForPreview(int fd_in_browser); |
| 728 #endif | 728 #endif |
| 729 | 729 |
| 730 #if defined(OS_MACOSX) | 730 #if defined(OS_MACOSX) |
| 731 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 731 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 732 #endif | 732 #endif |
| 733 | 733 |
| 734 private: | 734 private: |
| 735 friend class TestRenderViewHost; | 735 friend class TestRenderViewHost; |
| 736 | 736 |
| 737 // Get/Create print preview tab. |
| 738 TabContents* GetOrCreatePrintPreviewTab(); |
| 739 |
| 737 // The SiteInstance associated with this RenderViewHost. All pages drawn | 740 // The SiteInstance associated with this RenderViewHost. All pages drawn |
| 738 // in this RenderViewHost are part of this SiteInstance. Should not change | 741 // in this RenderViewHost are part of this SiteInstance. Should not change |
| 739 // over time. | 742 // over time. |
| 740 scoped_refptr<SiteInstance> instance_; | 743 scoped_refptr<SiteInstance> instance_; |
| 741 | 744 |
| 742 // Our delegate, which wants to know about changes in the RenderView. | 745 // Our delegate, which wants to know about changes in the RenderView. |
| 743 RenderViewHostDelegate* delegate_; | 746 RenderViewHostDelegate* delegate_; |
| 744 | 747 |
| 745 // true if we are currently waiting for a response for drag context | 748 // true if we are currently waiting for a response for drag context |
| 746 // information. | 749 // information. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 // Whether the accessibility tree should be saved, for unit testing. | 817 // Whether the accessibility tree should be saved, for unit testing. |
| 815 bool save_accessibility_tree_for_testing_; | 818 bool save_accessibility_tree_for_testing_; |
| 816 | 819 |
| 817 // The most recently received accessibility tree - for unit testing only. | 820 // The most recently received accessibility tree - for unit testing only. |
| 818 webkit_glue::WebAccessibility accessibility_tree_; | 821 webkit_glue::WebAccessibility accessibility_tree_; |
| 819 | 822 |
| 820 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 823 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 821 }; | 824 }; |
| 822 | 825 |
| 823 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 826 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |