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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 int id, | 767 int id, |
768 const GURL& image_url, | 768 const GURL& image_url, |
769 bool errored, | 769 bool errored, |
770 const SkBitmap& image); | 770 const SkBitmap& image); |
771 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, | 771 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, |
772 WindowOpenDisposition disposition); | 772 WindowOpenDisposition disposition); |
773 virtual void DomOperationResponse(const std::string& json_string, | 773 virtual void DomOperationResponse(const std::string& json_string, |
774 int automation_id); | 774 int automation_id); |
775 virtual void ProcessDOMUIMessage(const std::string& message, | 775 virtual void ProcessDOMUIMessage(const std::string& message, |
776 const std::string& content); | 776 const std::string& content); |
| 777 virtual void DocumentLoadedInFrame(); |
777 virtual void ProcessExternalHostMessage(const std::string& message, | 778 virtual void ProcessExternalHostMessage(const std::string& message, |
778 const std::string& origin, | 779 const std::string& origin, |
779 const std::string& target); | 780 const std::string& target); |
780 virtual void GoToEntryAtOffset(int offset); | 781 virtual void GoToEntryAtOffset(int offset); |
781 virtual void GetHistoryListCount(int* back_list_count, | 782 virtual void GetHistoryListCount(int* back_list_count, |
782 int* forward_list_count); | 783 int* forward_list_count); |
783 virtual void RunFileChooser(bool multiple_files, | 784 virtual void RunFileChooser(bool multiple_files, |
784 const string16& title, | 785 const string16& title, |
785 const FilePath& default_file); | 786 const FilePath& default_file); |
786 virtual void RunJavaScriptMessage(const std::wstring& message, | 787 virtual void RunJavaScriptMessage(const std::wstring& message, |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 // True if the user has decided to block future javascript messages. This is | 1057 // True if the user has decided to block future javascript messages. This is |
1057 // reset on navigations to false on navigations. | 1058 // reset on navigations to false on navigations. |
1058 bool suppress_javascript_messages_; | 1059 bool suppress_javascript_messages_; |
1059 | 1060 |
1060 // --------------------------------------------------------------------------- | 1061 // --------------------------------------------------------------------------- |
1061 | 1062 |
1062 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1063 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1063 }; | 1064 }; |
1064 | 1065 |
1065 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1066 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |