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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 const std::string& translated_lang, | 881 const std::string& translated_lang, |
882 TranslateErrors::Type error_type); | 882 TranslateErrors::Type error_type); |
883 virtual void OnSetSuggestions(int32 page_id, | 883 virtual void OnSetSuggestions(int32 page_id, |
884 const std::vector<std::string>& suggestions); | 884 const std::vector<std::string>& suggestions); |
885 virtual void OnInstantSupportDetermined(int32 page_id, bool result); | 885 virtual void OnInstantSupportDetermined(int32 page_id, bool result); |
886 | 886 |
887 // RenderViewHostDelegate::Resource implementation. | 887 // RenderViewHostDelegate::Resource implementation. |
888 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 888 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
889 long long frame_id, | 889 long long frame_id, |
890 bool is_main_frame, | 890 bool is_main_frame, |
| 891 bool is_unreachable_web_data, |
891 const GURL& url); | 892 const GURL& url); |
892 virtual void DidStartReceivingResourceResponse( | 893 virtual void DidStartReceivingResourceResponse( |
893 const ResourceRequestDetails& details); | 894 const ResourceRequestDetails& details); |
894 virtual void DidRedirectProvisionalLoad(int32 page_id, | 895 virtual void DidRedirectProvisionalLoad(int32 page_id, |
895 const GURL& source_url, | 896 const GURL& source_url, |
896 const GURL& target_url); | 897 const GURL& target_url); |
897 virtual void DidRedirectResource( | 898 virtual void DidRedirectResource( |
898 const ResourceRedirectDetails& details); | 899 const ResourceRedirectDetails& details); |
899 virtual void DidLoadResourceFromMemoryCache( | 900 virtual void DidLoadResourceFromMemoryCache( |
900 const GURL& url, | 901 const GURL& url, |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 // Content restrictions, used to disable print/copy etc based on content's | 1309 // Content restrictions, used to disable print/copy etc based on content's |
1309 // (full-page plugins for now only) permissions. | 1310 // (full-page plugins for now only) permissions. |
1310 int content_restrictions_; | 1311 int content_restrictions_; |
1311 | 1312 |
1312 // --------------------------------------------------------------------------- | 1313 // --------------------------------------------------------------------------- |
1313 | 1314 |
1314 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1315 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1315 }; | 1316 }; |
1316 | 1317 |
1317 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1318 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |