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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int render_process_id) OVERRIDE; | 133 int render_process_id) OVERRIDE; |
134 virtual void ShowDesktopNotification( | 134 virtual void ShowDesktopNotification( |
135 const content::ShowDesktopNotificationHostMsgParams& params, | 135 const content::ShowDesktopNotificationHostMsgParams& params, |
136 int render_process_id, | 136 int render_process_id, |
137 int render_view_id, | 137 int render_view_id, |
138 bool worker) OVERRIDE; | 138 bool worker) OVERRIDE; |
139 virtual void CancelDesktopNotification( | 139 virtual void CancelDesktopNotification( |
140 int render_process_id, | 140 int render_process_id, |
141 int render_view_id, | 141 int render_view_id, |
142 int notification_id) OVERRIDE; | 142 int notification_id) OVERRIDE; |
143 virtual bool CanCreateWindow( | 143 virtual CanCreateWindowResult CanCreateWindow( |
144 const GURL& opener_url, | 144 const GURL& opener_url, |
145 const GURL& source_origin, | 145 const GURL& source_origin, |
146 WindowContainerType container_type, | 146 WindowContainerType container_type, |
147 content::ResourceContext* context, | 147 content::ResourceContext* context, |
148 int render_process_id) OVERRIDE; | 148 int render_process_id) OVERRIDE; |
149 virtual std::string GetWorkerProcessTitle( | 149 virtual std::string GetWorkerProcessTitle( |
150 const GURL& url, content::ResourceContext* context) OVERRIDE; | 150 const GURL& url, content::ResourceContext* context) OVERRIDE; |
151 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 151 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
152 virtual content::SpeechRecognitionManagerDelegate* | 152 virtual content::SpeechRecognitionManagerDelegate* |
153 GetSpeechRecognitionManagerDelegate() OVERRIDE; | 153 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 private: | 186 private: |
187 // Set of origins that can use TCP/UDP private APIs from NaCl. | 187 // Set of origins that can use TCP/UDP private APIs from NaCl. |
188 std::set<std::string> allowed_socket_origins_; | 188 std::set<std::string> allowed_socket_origins_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 190 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace chrome | 193 } // namespace chrome |
194 | 194 |
195 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 195 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |