| 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 const std::string& origin, | 947 const std::string& origin, |
| 948 const std::string& target); | 948 const std::string& target); |
| 949 virtual void RunJavaScriptMessage(const std::wstring& message, | 949 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 950 const std::wstring& default_prompt, | 950 const std::wstring& default_prompt, |
| 951 const GURL& frame_url, | 951 const GURL& frame_url, |
| 952 const int flags, | 952 const int flags, |
| 953 IPC::Message* reply_msg, | 953 IPC::Message* reply_msg, |
| 954 bool* did_suppress_message); | 954 bool* did_suppress_message); |
| 955 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 955 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| 956 IPC::Message* reply_msg); | 956 IPC::Message* reply_msg); |
| 957 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | |
| 958 const std::string& json_arguments, | |
| 959 IPC::Message* reply_msg); | |
| 960 virtual GURL GetAlternateErrorPageURL() const; | 957 virtual GURL GetAlternateErrorPageURL() const; |
| 961 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 958 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 962 virtual WebPreferences GetWebkitPrefs(); | 959 virtual WebPreferences GetWebkitPrefs(); |
| 963 virtual void OnUserGesture(); | 960 virtual void OnUserGesture(); |
| 964 virtual void OnIgnoredUIEvent(); | 961 virtual void OnIgnoredUIEvent(); |
| 965 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 962 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
| 966 int new_request_id); | 963 int new_request_id); |
| 967 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 964 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 968 bool is_during_unload); | 965 bool is_during_unload); |
| 969 virtual void RendererResponsive(RenderViewHost* render_view_host); | 966 virtual void RendererResponsive(RenderViewHost* render_view_host); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1255 // (full-page plugins for now only) permissions. | 1252 // (full-page plugins for now only) permissions. |
| 1256 int content_restrictions_; | 1253 int content_restrictions_; |
| 1257 | 1254 |
| 1258 // Were the contents of this tab previously prerendered? | 1255 // Were the contents of this tab previously prerendered? |
| 1259 bool was_prerendered_; | 1256 bool was_prerendered_; |
| 1260 | 1257 |
| 1261 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1258 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1262 }; | 1259 }; |
| 1263 | 1260 |
| 1264 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1261 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |