| 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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 virtual void DomOperationResponse(const std::string& json_string, | 946 virtual void DomOperationResponse(const std::string& json_string, |
| 947 int automation_id); | 947 int automation_id); |
| 948 virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); | 948 virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); |
| 949 virtual void ProcessExternalHostMessage(const std::string& message, | 949 virtual void ProcessExternalHostMessage(const std::string& message, |
| 950 const std::string& origin, | 950 const std::string& origin, |
| 951 const std::string& target); | 951 const std::string& target); |
| 952 virtual void RunJavaScriptMessage(const std::wstring& message, | 952 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 953 const std::wstring& default_prompt, | 953 const std::wstring& default_prompt, |
| 954 const GURL& frame_url, | 954 const GURL& frame_url, |
| 955 const int flags, | 955 const int flags, |
| 956 const bool unload_handler_being_run, |
| 956 IPC::Message* reply_msg, | 957 IPC::Message* reply_msg, |
| 957 bool* did_suppress_message); | 958 bool* did_suppress_message); |
| 958 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 959 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| 959 IPC::Message* reply_msg); | 960 IPC::Message* reply_msg); |
| 960 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 961 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
| 961 const std::string& json_arguments, | 962 const std::string& json_arguments, |
| 962 IPC::Message* reply_msg); | 963 IPC::Message* reply_msg); |
| 963 virtual GURL GetAlternateErrorPageURL() const; | 964 virtual GURL GetAlternateErrorPageURL() const; |
| 964 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 965 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 965 virtual WebPreferences GetWebkitPrefs(); | 966 virtual WebPreferences GetWebkitPrefs(); |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 // (full-page plugins for now only) permissions. | 1266 // (full-page plugins for now only) permissions. |
| 1266 int content_restrictions_; | 1267 int content_restrictions_; |
| 1267 | 1268 |
| 1268 // Were the contents of this tab previously prerendered? | 1269 // Were the contents of this tab previously prerendered? |
| 1269 bool was_prerendered_; | 1270 bool was_prerendered_; |
| 1270 | 1271 |
| 1271 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1272 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1272 }; | 1273 }; |
| 1273 | 1274 |
| 1274 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1275 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |