| 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 virtual void UpdateEncoding(RenderViewHost* render_view_host, | 792 virtual void UpdateEncoding(RenderViewHost* render_view_host, |
| 793 const std::string& encoding); | 793 const std::string& encoding); |
| 794 virtual void UpdateTargetURL(int32 page_id, const GURL& url); | 794 virtual void UpdateTargetURL(int32 page_id, const GURL& url); |
| 795 virtual void UpdateInspectorSetting(const std::string& key, | 795 virtual void UpdateInspectorSetting(const std::string& key, |
| 796 const std::string& value); | 796 const std::string& value); |
| 797 virtual void ClearInspectorSettings(); | 797 virtual void ClearInspectorSettings(); |
| 798 virtual void Close(RenderViewHost* render_view_host); | 798 virtual void Close(RenderViewHost* render_view_host); |
| 799 virtual void RequestMove(const gfx::Rect& new_bounds); | 799 virtual void RequestMove(const gfx::Rect& new_bounds); |
| 800 virtual void DidStartLoading(); | 800 virtual void DidStartLoading(); |
| 801 virtual void DidStopLoading(); | 801 virtual void DidStopLoading(); |
| 802 virtual void DidCancelLoading(); |
| 802 virtual void DidChangeLoadProgress(double progress); | 803 virtual void DidChangeLoadProgress(double progress); |
| 803 virtual void DocumentOnLoadCompletedInMainFrame( | 804 virtual void DocumentOnLoadCompletedInMainFrame( |
| 804 RenderViewHost* render_view_host, | 805 RenderViewHost* render_view_host, |
| 805 int32 page_id); | 806 int32 page_id); |
| 806 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, | 807 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, |
| 807 WindowOpenDisposition disposition); | 808 WindowOpenDisposition disposition); |
| 808 virtual void DomOperationResponse(const std::string& json_string, | 809 virtual void DomOperationResponse(const std::string& json_string, |
| 809 int automation_id); | 810 int automation_id); |
| 810 virtual void ProcessWebUIMessage( | 811 virtual void ProcessWebUIMessage( |
| 811 const ExtensionHostMsg_DomMessage_Params& params); | 812 const ExtensionHostMsg_DomMessage_Params& params); |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1052 ObserverList<TabContentsObserver> observers_; | 1053 ObserverList<TabContentsObserver> observers_; |
| 1053 | 1054 |
| 1054 // Content restrictions, used to disable print/copy etc based on content's | 1055 // Content restrictions, used to disable print/copy etc based on content's |
| 1055 // (full-page plugins for now only) permissions. | 1056 // (full-page plugins for now only) permissions. |
| 1056 int content_restrictions_; | 1057 int content_restrictions_; |
| 1057 | 1058 |
| 1058 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1059 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1059 }; | 1060 }; |
| 1060 | 1061 |
| 1061 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1062 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |