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 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 virtual void GoToEntryAtOffset(int offset); | 845 virtual void GoToEntryAtOffset(int offset); |
846 virtual void OnMissingPluginStatus(int status); | 846 virtual void OnMissingPluginStatus(int status); |
847 virtual void OnCrashedPlugin(const FilePath& plugin_path); | 847 virtual void OnCrashedPlugin(const FilePath& plugin_path); |
848 virtual void OnCrashedWorker(); | 848 virtual void OnCrashedWorker(); |
849 virtual void OnDidGetApplicationInfo( | 849 virtual void OnDidGetApplicationInfo( |
850 int32 page_id, | 850 int32 page_id, |
851 const webkit_glue::WebApplicationInfo& info); | 851 const webkit_glue::WebApplicationInfo& info); |
852 virtual void OnPageContents(const GURL& url, | 852 virtual void OnPageContents(const GURL& url, |
853 int renderer_process_id, | 853 int renderer_process_id, |
854 int32 page_id, | 854 int32 page_id, |
855 const std::wstring& contents, | 855 const string16& contents, |
856 const std::string& language); | 856 const std::string& language); |
857 virtual void OnPageTranslated(int32 page_id, | 857 virtual void OnPageTranslated(int32 page_id, |
858 const std::string& original_lang, | 858 const std::string& original_lang, |
859 const std::string& translated_lang, | 859 const std::string& translated_lang, |
860 TranslateErrors::Type error_type); | 860 TranslateErrors::Type error_type); |
861 | 861 |
862 // RenderViewHostDelegate::Resource implementation. | 862 // RenderViewHostDelegate::Resource implementation. |
863 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 863 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
864 bool is_main_frame, | 864 bool is_main_frame, |
865 const GURL& url); | 865 const GURL& url); |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 | 1284 |
1285 // See description above setter. | 1285 // See description above setter. |
1286 bool closed_by_user_gesture_; | 1286 bool closed_by_user_gesture_; |
1287 | 1287 |
1288 // --------------------------------------------------------------------------- | 1288 // --------------------------------------------------------------------------- |
1289 | 1289 |
1290 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1290 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1291 }; | 1291 }; |
1292 | 1292 |
1293 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1293 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |