| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 virtual void RendererResponsive(RenderViewHost* render_view_host); | 1033 virtual void RendererResponsive(RenderViewHost* render_view_host); |
| 1034 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, | 1034 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, |
| 1035 uint64 upload_position, uint64 upload_size); | 1035 uint64 upload_position, uint64 upload_size); |
| 1036 virtual bool IsExternalTabContainer() const; | 1036 virtual bool IsExternalTabContainer() const; |
| 1037 virtual void DidInsertCSS(); | 1037 virtual void DidInsertCSS(); |
| 1038 virtual void FocusedNodeChanged(bool is_editable_node); | 1038 virtual void FocusedNodeChanged(bool is_editable_node); |
| 1039 virtual void UpdateZoomLimits(int minimum_percent, | 1039 virtual void UpdateZoomLimits(int minimum_percent, |
| 1040 int maximum_percent, | 1040 int maximum_percent, |
| 1041 bool remember); | 1041 bool remember); |
| 1042 virtual void UpdateContentRestrictions(int restrictions); | 1042 virtual void UpdateContentRestrictions(int restrictions); |
| 1043 virtual void DetectedPhishingSite(const GURL& phishing_url, |
| 1044 double phishing_score); |
| 1043 | 1045 |
| 1044 // RenderViewHostManager::Delegate ------------------------------------------- | 1046 // RenderViewHostManager::Delegate ------------------------------------------- |
| 1045 | 1047 |
| 1046 // Blocks/unblocks interaction with renderer process. | 1048 // Blocks/unblocks interaction with renderer process. |
| 1047 void BlockTabContent(bool blocked); | 1049 void BlockTabContent(bool blocked); |
| 1048 | 1050 |
| 1049 virtual void BeforeUnloadFiredFromRenderManager( | 1051 virtual void BeforeUnloadFiredFromRenderManager( |
| 1050 bool proceed, | 1052 bool proceed, |
| 1051 bool* proceed_to_fire_unload); | 1053 bool* proceed_to_fire_unload); |
| 1052 virtual void DidStartLoadingFromRenderManager( | 1054 virtual void DidStartLoadingFromRenderManager( |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 // (full-page plugins for now only) permissions. | 1345 // (full-page plugins for now only) permissions. |
| 1344 int content_restrictions_; | 1346 int content_restrictions_; |
| 1345 | 1347 |
| 1346 // All the IPC message filters for this render view. | 1348 // All the IPC message filters for this render view. |
| 1347 std::vector<IPC::Channel::Listener*> message_filters_; | 1349 std::vector<IPC::Channel::Listener*> message_filters_; |
| 1348 | 1350 |
| 1349 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1351 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1350 }; | 1352 }; |
| 1351 | 1353 |
| 1352 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1354 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |