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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 virtual void ShowDesktopNotification( | 129 virtual void ShowDesktopNotification( |
130 const content::ShowDesktopNotificationHostMsgParams& params, | 130 const content::ShowDesktopNotificationHostMsgParams& params, |
131 int render_process_id, | 131 int render_process_id, |
132 int render_view_id, | 132 int render_view_id, |
133 bool worker) OVERRIDE; | 133 bool worker) OVERRIDE; |
134 virtual void CancelDesktopNotification( | 134 virtual void CancelDesktopNotification( |
135 int render_process_id, | 135 int render_process_id, |
136 int render_view_id, | 136 int render_view_id, |
137 int notification_id) OVERRIDE; | 137 int notification_id) OVERRIDE; |
138 virtual bool CanCreateWindow( | 138 virtual bool CanCreateWindow( |
| 139 const GURL& opener_url, |
139 const GURL& source_origin, | 140 const GURL& source_origin, |
140 WindowContainerType container_type, | 141 WindowContainerType container_type, |
141 content::ResourceContext* context, | 142 content::ResourceContext* context, |
142 int render_process_id) OVERRIDE; | 143 int render_process_id) OVERRIDE; |
143 virtual std::string GetWorkerProcessTitle( | 144 virtual std::string GetWorkerProcessTitle( |
144 const GURL& url, content::ResourceContext* context) OVERRIDE; | 145 const GURL& url, content::ResourceContext* context) OVERRIDE; |
145 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 146 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
146 virtual content::SpeechInputManagerDelegate* | 147 virtual content::SpeechInputManagerDelegate* |
147 GetSpeechInputManagerDelegate() OVERRIDE; | 148 GetSpeechInputManagerDelegate() OVERRIDE; |
148 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 149 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
(...skipping 30 matching lines...) Expand all Loading... |
179 private: | 180 private: |
180 // Set of origins that can use TCP/UDP private APIs from NaCl. | 181 // Set of origins that can use TCP/UDP private APIs from NaCl. |
181 std::set<std::string> allowed_socket_origins_; | 182 std::set<std::string> allowed_socket_origins_; |
182 | 183 |
183 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 184 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
184 }; | 185 }; |
185 | 186 |
186 } // namespace chrome | 187 } // namespace chrome |
187 | 188 |
188 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 189 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |