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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 const gfx::Rect& selection_rect, | 889 const gfx::Rect& selection_rect, |
890 int active_match_ordinal, | 890 int active_match_ordinal, |
891 bool final_update); | 891 bool final_update); |
892 virtual void GoToEntryAtOffset(int offset); | 892 virtual void GoToEntryAtOffset(int offset); |
893 virtual void OnMissingPluginStatus(int status); | 893 virtual void OnMissingPluginStatus(int status); |
894 virtual void OnCrashedPlugin(const FilePath& plugin_path); | 894 virtual void OnCrashedPlugin(const FilePath& plugin_path); |
895 virtual void OnCrashedWorker(); | 895 virtual void OnCrashedWorker(); |
896 virtual void OnDidGetApplicationInfo(int32 page_id, | 896 virtual void OnDidGetApplicationInfo(int32 page_id, |
897 const WebApplicationInfo& info); | 897 const WebApplicationInfo& info); |
898 virtual void OnInstallApplication(const WebApplicationInfo& info); | 898 virtual void OnInstallApplication(const WebApplicationInfo& info); |
899 virtual void OnDisabledOutdatedPlugin(const string16& name, | 899 virtual void OnBlockedOutdatedPlugin(const string16& name, |
900 const GURL& update_url); | 900 const GURL& update_url); |
901 virtual void OnPageContents(const GURL& url, | 901 virtual void OnPageContents(const GURL& url, |
902 int renderer_process_id, | 902 int renderer_process_id, |
903 int32 page_id, | 903 int32 page_id, |
904 const string16& contents, | 904 const string16& contents, |
905 const std::string& language, | 905 const std::string& language, |
906 bool page_translatable); | 906 bool page_translatable); |
907 virtual void OnPageTranslated(int32 page_id, | 907 virtual void OnPageTranslated(int32 page_id, |
908 const std::string& original_lang, | 908 const std::string& original_lang, |
909 const std::string& translated_lang, | 909 const std::string& translated_lang, |
910 TranslateErrors::Type error_type); | 910 TranslateErrors::Type error_type); |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 // Content restrictions, used to disable print/copy etc based on content's | 1340 // Content restrictions, used to disable print/copy etc based on content's |
1341 // (full-page plugins for now only) permissions. | 1341 // (full-page plugins for now only) permissions. |
1342 int content_restrictions_; | 1342 int content_restrictions_; |
1343 | 1343 |
1344 // --------------------------------------------------------------------------- | 1344 // --------------------------------------------------------------------------- |
1345 | 1345 |
1346 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1346 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1347 }; | 1347 }; |
1348 | 1348 |
1349 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1349 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |