OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <map> | 10 #include <map> |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 int id, | 776 int id, |
777 const GURL& image_url, | 777 const GURL& image_url, |
778 bool errored, | 778 bool errored, |
779 const SkBitmap& image); | 779 const SkBitmap& image); |
780 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, | 780 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, |
781 WindowOpenDisposition disposition); | 781 WindowOpenDisposition disposition); |
782 virtual void DomOperationResponse(const std::string& json_string, | 782 virtual void DomOperationResponse(const std::string& json_string, |
783 int automation_id); | 783 int automation_id); |
784 virtual void ProcessDOMUIMessage(const std::string& message, | 784 virtual void ProcessDOMUIMessage(const std::string& message, |
785 const std::string& content); | 785 const std::string& content); |
786 virtual void DocumentLoadedInFrame(); | |
787 virtual void ProcessExternalHostMessage(const std::string& message, | 786 virtual void ProcessExternalHostMessage(const std::string& message, |
788 const std::string& origin, | 787 const std::string& origin, |
789 const std::string& target); | 788 const std::string& target); |
790 virtual void GoToEntryAtOffset(int offset); | 789 virtual void GoToEntryAtOffset(int offset); |
791 virtual void GetHistoryListCount(int* back_list_count, | 790 virtual void GetHistoryListCount(int* back_list_count, |
792 int* forward_list_count); | 791 int* forward_list_count); |
793 virtual void RunFileChooser(bool multiple_files, | 792 virtual void RunFileChooser(bool multiple_files, |
794 const string16& title, | 793 const string16& title, |
795 const FilePath& default_file); | 794 const FilePath& default_file); |
796 virtual void RunJavaScriptMessage(const std::wstring& message, | 795 virtual void RunJavaScriptMessage(const std::wstring& message, |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 // True if the user has decided to block future javascript messages. This is | 1065 // True if the user has decided to block future javascript messages. This is |
1067 // reset on navigations to false on navigations. | 1066 // reset on navigations to false on navigations. |
1068 bool suppress_javascript_messages_; | 1067 bool suppress_javascript_messages_; |
1069 | 1068 |
1070 // --------------------------------------------------------------------------- | 1069 // --------------------------------------------------------------------------- |
1071 | 1070 |
1072 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1071 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1073 }; | 1072 }; |
1074 | 1073 |
1075 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1074 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |