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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 896 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
897 IPC::Message* reply_msg); | 897 IPC::Message* reply_msg); |
898 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 898 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
899 const std::string& json_arguments, | 899 const std::string& json_arguments, |
900 IPC::Message* reply_msg); | 900 IPC::Message* reply_msg); |
901 virtual void PasswordFormsSeen( | 901 virtual void PasswordFormsSeen( |
902 const std::vector<webkit_glue::PasswordForm>& forms); | 902 const std::vector<webkit_glue::PasswordForm>& forms); |
903 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 903 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
904 int32 page_id, const GURL& url, bool autodetected); | 904 int32 page_id, const GURL& url, bool autodetected); |
905 virtual GURL GetAlternateErrorPageURL() const; | 905 virtual GURL GetAlternateErrorPageURL() const; |
906 virtual RendererPreferences GetRendererPrefs() const; | 906 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
907 virtual WebPreferences GetWebkitPrefs(); | 907 virtual WebPreferences GetWebkitPrefs(); |
908 virtual void OnJSOutOfMemory(); | 908 virtual void OnJSOutOfMemory(); |
909 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 909 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
910 int new_request_id); | 910 int new_request_id); |
911 virtual bool CanBlur() const; | 911 virtual bool CanBlur() const; |
912 virtual gfx::Rect GetRootWindowResizerRect() const; | 912 virtual gfx::Rect GetRootWindowResizerRect() const; |
913 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 913 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
914 bool is_during_unload); | 914 bool is_during_unload); |
915 virtual void RendererResponsive(RenderViewHost* render_view_host); | 915 virtual void RendererResponsive(RenderViewHost* render_view_host); |
916 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, | 916 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1175 // Can be NULL in which case we defer to the request context from the | 1175 // Can be NULL in which case we defer to the request context from the |
1176 // profile | 1176 // profile |
1177 scoped_refptr<URLRequestContextGetter> request_context_; | 1177 scoped_refptr<URLRequestContextGetter> request_context_; |
1178 | 1178 |
1179 // --------------------------------------------------------------------------- | 1179 // --------------------------------------------------------------------------- |
1180 | 1180 |
1181 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1181 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1182 }; | 1182 }; |
1183 | 1183 |
1184 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1184 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |