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