OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 base::TerminationStatus status, | 810 base::TerminationStatus status, |
811 int error_code); | 811 int error_code); |
812 virtual void RenderViewDeleted(RenderViewHost* render_view_host); | 812 virtual void RenderViewDeleted(RenderViewHost* render_view_host); |
813 virtual void DidNavigate(RenderViewHost* render_view_host, | 813 virtual void DidNavigate(RenderViewHost* render_view_host, |
814 const ViewHostMsg_FrameNavigate_Params& params); | 814 const ViewHostMsg_FrameNavigate_Params& params); |
815 virtual void UpdateState(RenderViewHost* render_view_host, | 815 virtual void UpdateState(RenderViewHost* render_view_host, |
816 int32 page_id, | 816 int32 page_id, |
817 const std::string& state); | 817 const std::string& state); |
818 virtual void UpdateTitle(RenderViewHost* render_view_host, | 818 virtual void UpdateTitle(RenderViewHost* render_view_host, |
819 int32 page_id, | 819 int32 page_id, |
820 const std::wstring& title); | 820 const string16& title, |
| 821 WebKit::WebTextDirection title_direction) OVERRIDE; |
821 virtual void UpdateEncoding(RenderViewHost* render_view_host, | 822 virtual void UpdateEncoding(RenderViewHost* render_view_host, |
822 const std::string& encoding); | 823 const std::string& encoding); |
823 virtual void UpdateTargetURL(int32 page_id, const GURL& url); | 824 virtual void UpdateTargetURL(int32 page_id, const GURL& url); |
824 virtual void UpdateInspectorSetting(const std::string& key, | 825 virtual void UpdateInspectorSetting(const std::string& key, |
825 const std::string& value); | 826 const std::string& value); |
826 virtual void ClearInspectorSettings(); | 827 virtual void ClearInspectorSettings(); |
827 virtual void Close(RenderViewHost* render_view_host); | 828 virtual void Close(RenderViewHost* render_view_host); |
828 virtual void RequestMove(const gfx::Rect& new_bounds); | 829 virtual void RequestMove(const gfx::Rect& new_bounds); |
829 virtual void DidStartLoading(); | 830 virtual void DidStartLoading(); |
830 virtual void DidStopLoading(); | 831 virtual void DidStopLoading(); |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 ObserverList<TabContentsObserver> observers_; | 1094 ObserverList<TabContentsObserver> observers_; |
1094 | 1095 |
1095 // Content restrictions, used to disable print/copy etc based on content's | 1096 // Content restrictions, used to disable print/copy etc based on content's |
1096 // (full-page plugins for now only) permissions. | 1097 // (full-page plugins for now only) permissions. |
1097 int content_restrictions_; | 1098 int content_restrictions_; |
1098 | 1099 |
1099 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1100 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1100 }; | 1101 }; |
1101 | 1102 |
1102 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1103 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |