| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 const std::string& language); | 617 const std::string& language); |
| 618 void OnPageTranslated(int32 page_id, | 618 void OnPageTranslated(int32 page_id, |
| 619 const std::string& original_lang, | 619 const std::string& original_lang, |
| 620 const std::string& translated_lang); | 620 const std::string& translated_lang); |
| 621 | 621 |
| 622 void OnContentBlocked(ContentSettingsType type); | 622 void OnContentBlocked(ContentSettingsType type); |
| 623 | 623 |
| 624 private: | 624 private: |
| 625 friend class TestRenderViewHost; | 625 friend class TestRenderViewHost; |
| 626 | 626 |
| 627 void UpdateBackForwardListCount(); | |
| 628 | |
| 629 // The SiteInstance associated with this RenderViewHost. All pages drawn | 627 // The SiteInstance associated with this RenderViewHost. All pages drawn |
| 630 // in this RenderViewHost are part of this SiteInstance. Should not change | 628 // in this RenderViewHost are part of this SiteInstance. Should not change |
| 631 // over time. | 629 // over time. |
| 632 scoped_refptr<SiteInstance> instance_; | 630 scoped_refptr<SiteInstance> instance_; |
| 633 | 631 |
| 634 // Our delegate, which wants to know about changes in the RenderView. | 632 // Our delegate, which wants to know about changes in the RenderView. |
| 635 RenderViewHostDelegate* delegate_; | 633 RenderViewHostDelegate* delegate_; |
| 636 | 634 |
| 637 // true if we are currently waiting for a response for drag context | 635 // true if we are currently waiting for a response for drag context |
| 638 // information. | 636 // information. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 // True if the render view can be shut down suddenly. | 685 // True if the render view can be shut down suddenly. |
| 688 bool sudden_termination_allowed_; | 686 bool sudden_termination_allowed_; |
| 689 | 687 |
| 690 // The session storage namespace id to be used by the associated render view. | 688 // The session storage namespace id to be used by the associated render view. |
| 691 int64 session_storage_namespace_id_; | 689 int64 session_storage_namespace_id_; |
| 692 | 690 |
| 693 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 691 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 694 }; | 692 }; |
| 695 | 693 |
| 696 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 694 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |