| 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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 virtual void DomOperationResponse(const std::string& json_string, | 944 virtual void DomOperationResponse(const std::string& json_string, |
| 945 int automation_id); | 945 int automation_id); |
| 946 virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); | 946 virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); |
| 947 virtual void ProcessExternalHostMessage(const std::string& message, | 947 virtual void ProcessExternalHostMessage(const std::string& message, |
| 948 const std::string& origin, | 948 const std::string& origin, |
| 949 const std::string& target); | 949 const std::string& target); |
| 950 virtual void RunJavaScriptMessage(const std::wstring& message, | 950 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 951 const std::wstring& default_prompt, | 951 const std::wstring& default_prompt, |
| 952 const GURL& frame_url, | 952 const GURL& frame_url, |
| 953 const int flags, | 953 const int flags, |
| 954 const bool unload_handler_being_run, |
| 954 IPC::Message* reply_msg, | 955 IPC::Message* reply_msg, |
| 955 bool* did_suppress_message); | 956 bool* did_suppress_message); |
| 956 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 957 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| 957 IPC::Message* reply_msg); | 958 IPC::Message* reply_msg); |
| 958 virtual GURL GetAlternateErrorPageURL() const; | 959 virtual GURL GetAlternateErrorPageURL() const; |
| 959 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 960 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 960 virtual WebPreferences GetWebkitPrefs(); | 961 virtual WebPreferences GetWebkitPrefs(); |
| 961 virtual void OnUserGesture(); | 962 virtual void OnUserGesture(); |
| 962 virtual void OnIgnoredUIEvent(); | 963 virtual void OnIgnoredUIEvent(); |
| 963 virtual void OnCrossSiteResponse(int new_render_process_host_id, | 964 virtual void OnCrossSiteResponse(int new_render_process_host_id, |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1246 ObserverList<TabContentsObserver> observers_; | 1247 ObserverList<TabContentsObserver> observers_; |
| 1247 | 1248 |
| 1248 // Content restrictions, used to disable print/copy etc based on content's | 1249 // Content restrictions, used to disable print/copy etc based on content's |
| 1249 // (full-page plugins for now only) permissions. | 1250 // (full-page plugins for now only) permissions. |
| 1250 int content_restrictions_; | 1251 int content_restrictions_; |
| 1251 | 1252 |
| 1252 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1253 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1253 }; | 1254 }; |
| 1254 | 1255 |
| 1255 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1256 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |