| 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 const std::string& origin, | 949 const std::string& origin, |
| 950 const std::string& target); | 950 const std::string& target); |
| 951 virtual void RunJavaScriptMessage(const std::wstring& message, | 951 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 952 const std::wstring& default_prompt, | 952 const std::wstring& default_prompt, |
| 953 const GURL& frame_url, | 953 const GURL& frame_url, |
| 954 const int flags, | 954 const int flags, |
| 955 IPC::Message* reply_msg, | 955 IPC::Message* reply_msg, |
| 956 bool* did_suppress_message); | 956 bool* did_suppress_message); |
| 957 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 957 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| 958 IPC::Message* reply_msg); | 958 IPC::Message* reply_msg); |
| 959 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | |
| 960 const std::string& json_arguments, | |
| 961 IPC::Message* reply_msg); | |
| 962 virtual GURL GetAlternateErrorPageURL() const; | 959 virtual GURL GetAlternateErrorPageURL() const; |
| 963 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 960 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 964 virtual WebPreferences GetWebkitPrefs(); | 961 virtual WebPreferences GetWebkitPrefs(); |
| 965 virtual void OnUserGesture(); | 962 virtual void OnUserGesture(); |
| 966 virtual void OnIgnoredUIEvent(); | 963 virtual void OnIgnoredUIEvent(); |
| 967 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 964 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
| 968 int new_request_id); | 965 int new_request_id); |
| 969 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 966 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 970 bool is_during_unload); | 967 bool is_during_unload); |
| 971 virtual void RendererResponsive(RenderViewHost* render_view_host); | 968 virtual void RendererResponsive(RenderViewHost* render_view_host); |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 ObserverList<TabContentsObserver> observers_; | 1250 ObserverList<TabContentsObserver> observers_; |
| 1254 | 1251 |
| 1255 // Content restrictions, used to disable print/copy etc based on content's | 1252 // Content restrictions, used to disable print/copy etc based on content's |
| 1256 // (full-page plugins for now only) permissions. | 1253 // (full-page plugins for now only) permissions. |
| 1257 int content_restrictions_; | 1254 int content_restrictions_; |
| 1258 | 1255 |
| 1259 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1256 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1260 }; | 1257 }; |
| 1261 | 1258 |
| 1262 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1259 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |