| 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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 virtual void OnPageContents(const GURL& url, | 857 virtual void OnPageContents(const GURL& url, |
| 858 int renderer_process_id, | 858 int renderer_process_id, |
| 859 int32 page_id, | 859 int32 page_id, |
| 860 const string16& contents, | 860 const string16& contents, |
| 861 const std::string& language, | 861 const std::string& language, |
| 862 bool page_translatable); | 862 bool page_translatable); |
| 863 virtual void OnPageTranslated(int32 page_id, | 863 virtual void OnPageTranslated(int32 page_id, |
| 864 const std::string& original_lang, | 864 const std::string& original_lang, |
| 865 const std::string& translated_lang, | 865 const std::string& translated_lang, |
| 866 TranslateErrors::Type error_type); | 866 TranslateErrors::Type error_type); |
| 867 virtual void OnSetSuggestResult(int32 page_id, const std::string& result); |
| 867 | 868 |
| 868 // RenderViewHostDelegate::Resource implementation. | 869 // RenderViewHostDelegate::Resource implementation. |
| 869 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 870 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
| 870 bool is_main_frame, | 871 bool is_main_frame, |
| 871 const GURL& url); | 872 const GURL& url); |
| 872 virtual void DidStartReceivingResourceResponse( | 873 virtual void DidStartReceivingResourceResponse( |
| 873 const ResourceRequestDetails& details); | 874 const ResourceRequestDetails& details); |
| 874 virtual void DidRedirectProvisionalLoad(int32 page_id, | 875 virtual void DidRedirectProvisionalLoad(int32 page_id, |
| 875 const GURL& source_url, | 876 const GURL& source_url, |
| 876 const GURL& target_url); | 877 const GURL& target_url); |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 bool displaying_pdf_content_; | 1268 bool displaying_pdf_content_; |
| 1268 | 1269 |
| 1269 scoped_ptr<MatchPreview> match_preview_; | 1270 scoped_ptr<MatchPreview> match_preview_; |
| 1270 | 1271 |
| 1271 // --------------------------------------------------------------------------- | 1272 // --------------------------------------------------------------------------- |
| 1272 | 1273 |
| 1273 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1274 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1274 }; | 1275 }; |
| 1275 | 1276 |
| 1276 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1277 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |