| 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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 virtual void OnPageTranslated(int32 page_id, | 876 virtual void OnPageTranslated(int32 page_id, |
| 877 const std::string& original_lang, | 877 const std::string& original_lang, |
| 878 const std::string& translated_lang, | 878 const std::string& translated_lang, |
| 879 TranslateErrors::Type error_type); | 879 TranslateErrors::Type error_type); |
| 880 virtual void OnSetSuggestions(int32 page_id, | 880 virtual void OnSetSuggestions(int32 page_id, |
| 881 const std::vector<std::string>& suggestions); | 881 const std::vector<std::string>& suggestions); |
| 882 virtual void OnInstantSupportDetermined(int32 page_id, bool result); | 882 virtual void OnInstantSupportDetermined(int32 page_id, bool result); |
| 883 | 883 |
| 884 // RenderViewHostDelegate::Resource implementation. | 884 // RenderViewHostDelegate::Resource implementation. |
| 885 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 885 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
| 886 long long frame_id, | 886 int64 frame_id, |
| 887 bool is_main_frame, | 887 bool is_main_frame, |
| 888 const GURL& url); | 888 const GURL& url); |
| 889 virtual void DidStartReceivingResourceResponse( | 889 virtual void DidStartReceivingResourceResponse( |
| 890 const ResourceRequestDetails& details); | 890 const ResourceRequestDetails& details); |
| 891 virtual void DidRedirectProvisionalLoad(int32 page_id, | 891 virtual void DidRedirectProvisionalLoad(int32 page_id, |
| 892 const GURL& source_url, | 892 const GURL& source_url, |
| 893 const GURL& target_url); | 893 const GURL& target_url); |
| 894 virtual void DidRedirectResource( | 894 virtual void DidRedirectResource( |
| 895 const ResourceRedirectDetails& details); | 895 const ResourceRedirectDetails& details); |
| 896 virtual void DidLoadResourceFromMemoryCache( | 896 virtual void DidLoadResourceFromMemoryCache( |
| 897 const GURL& url, | 897 const GURL& url, |
| 898 const std::string& frame_origin, | 898 const std::string& frame_origin, |
| 899 const std::string& main_frame_origin, | 899 const std::string& main_frame_origin, |
| 900 const std::string& security_info); | 900 const std::string& security_info); |
| 901 virtual void DidDisplayInsecureContent(); | 901 virtual void DidDisplayInsecureContent(); |
| 902 virtual void DidRunInsecureContent(const std::string& security_origin); | 902 virtual void DidRunInsecureContent(const std::string& security_origin); |
| 903 virtual void DidFailProvisionalLoadWithError( | 903 virtual void DidFailProvisionalLoadWithError( |
| 904 RenderViewHost* render_view_host, | 904 RenderViewHost* render_view_host, |
| 905 long long frame_id, | 905 int64 frame_id, |
| 906 bool is_main_frame, | 906 bool is_main_frame, |
| 907 int error_code, | 907 int error_code, |
| 908 const GURL& url, | 908 const GURL& url, |
| 909 bool showing_repost_interstitial); | 909 bool showing_repost_interstitial); |
| 910 virtual void DocumentLoadedInFrame(long long frame_id); | 910 virtual void DocumentLoadedInFrame(int64 frame_id); |
| 911 virtual void DidFinishLoad(long long frame_id); | 911 virtual void DidFinishLoad(int64 frame_id); |
| 912 | 912 |
| 913 // RenderViewHostDelegate implementation. | 913 // RenderViewHostDelegate implementation. |
| 914 virtual RenderViewHostDelegate::View* GetViewDelegate(); | 914 virtual RenderViewHostDelegate::View* GetViewDelegate(); |
| 915 virtual RenderViewHostDelegate::RendererManagement* | 915 virtual RenderViewHostDelegate::RendererManagement* |
| 916 GetRendererManagementDelegate(); | 916 GetRendererManagementDelegate(); |
| 917 virtual RenderViewHostDelegate::BrowserIntegration* | 917 virtual RenderViewHostDelegate::BrowserIntegration* |
| 918 GetBrowserIntegrationDelegate(); | 918 GetBrowserIntegrationDelegate(); |
| 919 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); | 919 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); |
| 920 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); | 920 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); |
| 921 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); | 921 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 // Content restrictions, used to disable print/copy etc based on content's | 1298 // Content restrictions, used to disable print/copy etc based on content's |
| 1299 // (full-page plugins for now only) permissions. | 1299 // (full-page plugins for now only) permissions. |
| 1300 int content_restrictions_; | 1300 int content_restrictions_; |
| 1301 | 1301 |
| 1302 // --------------------------------------------------------------------------- | 1302 // --------------------------------------------------------------------------- |
| 1303 | 1303 |
| 1304 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1304 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1305 }; | 1305 }; |
| 1306 | 1306 |
| 1307 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1307 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |