| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/browser/tab_contents/navigation_controller.h" | 32 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 33 #include "chrome/browser/tab_contents/navigation_entry.h" | 33 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 34 #include "chrome/browser/tab_contents/page_navigator.h" | 34 #include "chrome/browser/tab_contents/page_navigator.h" |
| 35 #include "chrome/browser/tab_contents/render_view_host_manager.h" | 35 #include "chrome/browser/tab_contents/render_view_host_manager.h" |
| 36 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" | 36 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" |
| 37 #include "chrome/common/notification_registrar.h" | 37 #include "chrome/common/notification_registrar.h" |
| 38 #include "chrome/common/property_bag.h" | 38 #include "chrome/common/property_bag.h" |
| 39 #include "chrome/common/renderer_preferences.h" | 39 #include "chrome/common/renderer_preferences.h" |
| 40 #include "chrome/common/translate_errors.h" | 40 #include "chrome/common/translate_errors.h" |
| 41 #include "gfx/native_widget_types.h" | 41 #include "gfx/native_widget_types.h" |
| 42 #include "gfx/rect.h" | |
| 43 #include "net/base/load_states.h" | 42 #include "net/base/load_states.h" |
| 44 #include "webkit/glue/dom_operations.h" | 43 #include "webkit/glue/dom_operations.h" |
| 45 | 44 |
| 46 namespace gfx { | 45 namespace gfx { |
| 47 class Rect; | 46 class Rect; |
| 48 } | 47 } |
| 49 | 48 |
| 50 namespace history { | 49 namespace history { |
| 51 class HistoryAddPageArgs; | 50 class HistoryAddPageArgs; |
| 52 } | 51 } |
| (...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 int32 page_id, | 991 int32 page_id, |
| 993 const GURL& url, | 992 const GURL& url, |
| 994 const ViewHostMsg_PageHasOSDD_Type& provider_type); | 993 const ViewHostMsg_PageHasOSDD_Type& provider_type); |
| 995 virtual GURL GetAlternateErrorPageURL() const; | 994 virtual GURL GetAlternateErrorPageURL() const; |
| 996 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 995 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 997 virtual WebPreferences GetWebkitPrefs(); | 996 virtual WebPreferences GetWebkitPrefs(); |
| 998 virtual void OnIgnoredUIEvent(); | 997 virtual void OnIgnoredUIEvent(); |
| 999 virtual void OnJSOutOfMemory(); | 998 virtual void OnJSOutOfMemory(); |
| 1000 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 999 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
| 1001 int new_request_id); | 1000 int new_request_id); |
| 1002 virtual gfx::Rect GetRootWindowResizerRect() const; | |
| 1003 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 1001 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 1004 bool is_during_unload); | 1002 bool is_during_unload); |
| 1005 virtual void RendererResponsive(RenderViewHost* render_view_host); | 1003 virtual void RendererResponsive(RenderViewHost* render_view_host); |
| 1006 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, | 1004 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, |
| 1007 uint64 upload_position, uint64 upload_size); | 1005 uint64 upload_position, uint64 upload_size); |
| 1008 virtual bool IsExternalTabContainer() const; | 1006 virtual bool IsExternalTabContainer() const; |
| 1009 virtual void DidInsertCSS(); | 1007 virtual void DidInsertCSS(); |
| 1010 virtual void FocusedNodeChanged(); | 1008 virtual void FocusedNodeChanged(); |
| 1011 virtual void UpdateZoomLimits(int minimum_percent, | 1009 virtual void UpdateZoomLimits(int minimum_percent, |
| 1012 int maximum_percent, | 1010 int maximum_percent, |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 // Content restrictions, used to disable print/copy etc based on content's | 1308 // Content restrictions, used to disable print/copy etc based on content's |
| 1311 // (full-page plugins for now only) permissions. | 1309 // (full-page plugins for now only) permissions. |
| 1312 int content_restrictions_; | 1310 int content_restrictions_; |
| 1313 | 1311 |
| 1314 // --------------------------------------------------------------------------- | 1312 // --------------------------------------------------------------------------- |
| 1315 | 1313 |
| 1316 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1314 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1317 }; | 1315 }; |
| 1318 | 1316 |
| 1319 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1317 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |