| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 const std::string& json_arguments, | 837 const std::string& json_arguments, |
| 838 IPC::Message* reply_msg); | 838 IPC::Message* reply_msg); |
| 839 virtual void PasswordFormsSeen( | 839 virtual void PasswordFormsSeen( |
| 840 const std::vector<webkit_glue::PasswordForm>& forms); | 840 const std::vector<webkit_glue::PasswordForm>& forms); |
| 841 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 841 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
| 842 int32 page_id, const GURL& url, bool autodetected); | 842 int32 page_id, const GURL& url, bool autodetected); |
| 843 virtual GURL GetAlternateErrorPageURL() const; | 843 virtual GURL GetAlternateErrorPageURL() const; |
| 844 virtual RendererPreferences GetRendererPrefs() const; | 844 virtual RendererPreferences GetRendererPrefs() const; |
| 845 virtual WebPreferences GetWebkitPrefs(); | 845 virtual WebPreferences GetWebkitPrefs(); |
| 846 virtual void OnJSOutOfMemory(); | 846 virtual void OnJSOutOfMemory(); |
| 847 virtual void ShouldClosePage(bool proceed); | |
| 848 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 847 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
| 849 int new_request_id); | 848 int new_request_id); |
| 850 virtual bool CanBlur() const; | 849 virtual bool CanBlur() const; |
| 851 virtual gfx::Rect GetRootWindowResizerRect() const; | 850 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 852 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 851 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 853 bool is_during_unload); | 852 bool is_during_unload); |
| 854 virtual void RendererResponsive(RenderViewHost* render_view_host); | 853 virtual void RendererResponsive(RenderViewHost* render_view_host); |
| 855 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state); | 854 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state); |
| 856 virtual bool IsExternalTabContainer() const; | 855 virtual bool IsExternalTabContainer() const; |
| 857 virtual void DidInsertCSS(); | 856 virtual void DidInsertCSS(); |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 // True if the user has decided to block future javascript messages. This is | 1082 // True if the user has decided to block future javascript messages. This is |
| 1084 // reset on navigations to false on navigations. | 1083 // reset on navigations to false on navigations. |
| 1085 bool suppress_javascript_messages_; | 1084 bool suppress_javascript_messages_; |
| 1086 | 1085 |
| 1087 // --------------------------------------------------------------------------- | 1086 // --------------------------------------------------------------------------- |
| 1088 | 1087 |
| 1089 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1088 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1090 }; | 1089 }; |
| 1091 | 1090 |
| 1092 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1091 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |