| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 bool worker) OVERRIDE; | 139 bool worker) OVERRIDE; |
| 140 virtual void CancelDesktopNotification( | 140 virtual void CancelDesktopNotification( |
| 141 int render_process_id, | 141 int render_process_id, |
| 142 int render_view_id, | 142 int render_view_id, |
| 143 int notification_id) OVERRIDE; | 143 int notification_id) OVERRIDE; |
| 144 virtual bool CanCreateWindow( | 144 virtual bool CanCreateWindow( |
| 145 const GURL& opener_url, | 145 const GURL& opener_url, |
| 146 const GURL& source_origin, | 146 const GURL& source_origin, |
| 147 WindowContainerType container_type, | 147 WindowContainerType container_type, |
| 148 content::ResourceContext* context, | 148 content::ResourceContext* context, |
| 149 int render_process_id) OVERRIDE; | 149 int render_process_id, |
| 150 bool* no_javascript_access) OVERRIDE; |
| 150 virtual std::string GetWorkerProcessTitle( | 151 virtual std::string GetWorkerProcessTitle( |
| 151 const GURL& url, content::ResourceContext* context) OVERRIDE; | 152 const GURL& url, content::ResourceContext* context) OVERRIDE; |
| 152 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 153 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 153 virtual content::SpeechRecognitionManagerDelegate* | 154 virtual content::SpeechRecognitionManagerDelegate* |
| 154 GetSpeechRecognitionManagerDelegate() OVERRIDE; | 155 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
| 155 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 156 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 156 virtual net::NetLog* GetNetLog() OVERRIDE; | 157 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 157 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 158 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 158 virtual bool IsFastShutdownPossible() OVERRIDE; | 159 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 159 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 160 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 187 private: | 188 private: |
| 188 // Set of origins that can use TCP/UDP private APIs from NaCl. | 189 // Set of origins that can use TCP/UDP private APIs from NaCl. |
| 189 std::set<std::string> allowed_socket_origins_; | 190 std::set<std::string> allowed_socket_origins_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 192 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace chrome | 195 } // namespace chrome |
| 195 | 196 |
| 196 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 197 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |