| 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 const std::string& language, | 862 const std::string& language, |
| 863 bool page_translatable); | 863 bool page_translatable); |
| 864 virtual void OnPageTranslated(int32 page_id, | 864 virtual void OnPageTranslated(int32 page_id, |
| 865 const std::string& original_lang, | 865 const std::string& original_lang, |
| 866 const std::string& translated_lang, | 866 const std::string& translated_lang, |
| 867 TranslateErrors::Type error_type); | 867 TranslateErrors::Type error_type); |
| 868 virtual void OnSetSuggestResult(int32 page_id, const std::string& result); | 868 virtual void OnSetSuggestResult(int32 page_id, const std::string& result); |
| 869 | 869 |
| 870 // RenderViewHostDelegate::Resource implementation. | 870 // RenderViewHostDelegate::Resource implementation. |
| 871 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 871 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
| 872 long long frame_id, |
| 872 bool is_main_frame, | 873 bool is_main_frame, |
| 873 const GURL& url); | 874 const GURL& url); |
| 874 virtual void DidStartReceivingResourceResponse( | 875 virtual void DidStartReceivingResourceResponse( |
| 875 const ResourceRequestDetails& details); | 876 const ResourceRequestDetails& details); |
| 876 virtual void DidRedirectProvisionalLoad(int32 page_id, | 877 virtual void DidRedirectProvisionalLoad(int32 page_id, |
| 877 const GURL& source_url, | 878 const GURL& source_url, |
| 878 const GURL& target_url); | 879 const GURL& target_url); |
| 879 virtual void DidRedirectResource( | 880 virtual void DidRedirectResource( |
| 880 const ResourceRedirectDetails& details); | 881 const ResourceRedirectDetails& details); |
| 881 virtual void DidLoadResourceFromMemoryCache( | 882 virtual void DidLoadResourceFromMemoryCache( |
| 882 const GURL& url, | 883 const GURL& url, |
| 883 const std::string& frame_origin, | 884 const std::string& frame_origin, |
| 884 const std::string& main_frame_origin, | 885 const std::string& main_frame_origin, |
| 885 const std::string& security_info); | 886 const std::string& security_info); |
| 886 virtual void DidDisplayInsecureContent(); | 887 virtual void DidDisplayInsecureContent(); |
| 887 virtual void DidRunInsecureContent(const std::string& security_origin); | 888 virtual void DidRunInsecureContent(const std::string& security_origin); |
| 888 virtual void DidFailProvisionalLoadWithError( | 889 virtual void DidFailProvisionalLoadWithError( |
| 889 RenderViewHost* render_view_host, | 890 RenderViewHost* render_view_host, |
| 891 long long frame_id, |
| 890 bool is_main_frame, | 892 bool is_main_frame, |
| 891 int error_code, | 893 int error_code, |
| 892 const GURL& url, | 894 const GURL& url, |
| 893 bool showing_repost_interstitial); | 895 bool showing_repost_interstitial); |
| 894 virtual void DocumentLoadedInFrame(); | 896 virtual void DocumentLoadedInFrame(); |
| 895 | 897 |
| 896 // RenderViewHostDelegate implementation. | 898 // RenderViewHostDelegate implementation. |
| 897 virtual RenderViewHostDelegate::View* GetViewDelegate(); | 899 virtual RenderViewHostDelegate::View* GetViewDelegate(); |
| 898 virtual RenderViewHostDelegate::RendererManagement* | 900 virtual RenderViewHostDelegate::RendererManagement* |
| 899 GetRendererManagementDelegate(); | 901 GetRendererManagementDelegate(); |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1280 // case we don't want saved settings to apply to it and we don't want to | 1282 // case we don't want saved settings to apply to it and we don't want to |
| 1281 // remember it. | 1283 // remember it. |
| 1282 bool temporary_zoom_settings_; | 1284 bool temporary_zoom_settings_; |
| 1283 | 1285 |
| 1284 // --------------------------------------------------------------------------- | 1286 // --------------------------------------------------------------------------- |
| 1285 | 1287 |
| 1286 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1288 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1287 }; | 1289 }; |
| 1288 | 1290 |
| 1289 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1291 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |