OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 | 719 |
720 // If params has a searchable form, this tries to create a new keyword. | 720 // If params has a searchable form, this tries to create a new keyword. |
721 void GenerateKeywordIfNecessary( | 721 void GenerateKeywordIfNecessary( |
722 const ViewHostMsg_FrameNavigate_Params& params); | 722 const ViewHostMsg_FrameNavigate_Params& params); |
723 | 723 |
724 // RenderViewHostDelegate ---------------------------------------------------- | 724 // RenderViewHostDelegate ---------------------------------------------------- |
725 | 725 |
726 virtual RenderViewHostDelegate::View* GetViewDelegate() const; | 726 virtual RenderViewHostDelegate::View* GetViewDelegate() const; |
727 virtual RenderViewHostDelegate::Save* GetSaveDelegate() const; | 727 virtual RenderViewHostDelegate::Save* GetSaveDelegate() const; |
728 virtual Profile* GetProfile() const; | 728 virtual Profile* GetProfile() const; |
| 729 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher( |
| 730 RenderViewHost* render_view_host, |
| 731 const std::string& extension_id); |
729 virtual WebContents* GetAsWebContents(); | 732 virtual WebContents* GetAsWebContents(); |
730 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 733 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
731 virtual void RenderViewReady(RenderViewHost* render_view_host); | 734 virtual void RenderViewReady(RenderViewHost* render_view_host); |
732 virtual void RenderViewGone(RenderViewHost* render_view_host); | 735 virtual void RenderViewGone(RenderViewHost* render_view_host); |
733 virtual void DidNavigate(RenderViewHost* render_view_host, | 736 virtual void DidNavigate(RenderViewHost* render_view_host, |
734 const ViewHostMsg_FrameNavigate_Params& params); | 737 const ViewHostMsg_FrameNavigate_Params& params); |
735 virtual void UpdateState(RenderViewHost* render_view_host, | 738 virtual void UpdateState(RenderViewHost* render_view_host, |
736 int32 page_id, | 739 int32 page_id, |
737 const std::string& state); | 740 const std::string& state); |
738 virtual void UpdateTitle(RenderViewHost* render_view_host, | 741 virtual void UpdateTitle(RenderViewHost* render_view_host, |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 // 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 |
1063 // reset on navigations to false on navigations. | 1066 // reset on navigations to false on navigations. |
1064 bool suppress_javascript_messages_; | 1067 bool suppress_javascript_messages_; |
1065 | 1068 |
1066 // --------------------------------------------------------------------------- | 1069 // --------------------------------------------------------------------------- |
1067 | 1070 |
1068 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1071 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1069 }; | 1072 }; |
1070 | 1073 |
1071 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1074 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |