| 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 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 int render_frame_id) override; | 190 int render_frame_id) override; |
| 191 content::MediaObserver* GetMediaObserver() override; | 191 content::MediaObserver* GetMediaObserver() override; |
| 192 content::PlatformNotificationService* GetPlatformNotificationService() | 192 content::PlatformNotificationService* GetPlatformNotificationService() |
| 193 override; | 193 override; |
| 194 bool CanCreateWindow(const GURL& opener_url, | 194 bool CanCreateWindow(const GURL& opener_url, |
| 195 const GURL& opener_top_level_frame_url, | 195 const GURL& opener_top_level_frame_url, |
| 196 const GURL& source_origin, | 196 const GURL& source_origin, |
| 197 WindowContainerType container_type, | 197 WindowContainerType container_type, |
| 198 const GURL& target_url, | 198 const GURL& target_url, |
| 199 const content::Referrer& referrer, | 199 const content::Referrer& referrer, |
| 200 const std::string& frame_name, |
| 200 WindowOpenDisposition disposition, | 201 WindowOpenDisposition disposition, |
| 201 const blink::WebWindowFeatures& features, | 202 const blink::WebWindowFeatures& features, |
| 202 bool user_gesture, | 203 bool user_gesture, |
| 203 bool opener_suppressed, | 204 bool opener_suppressed, |
| 204 content::ResourceContext* context, | 205 content::ResourceContext* context, |
| 205 int render_process_id, | 206 int render_process_id, |
| 206 int opener_render_view_id, | 207 int opener_render_view_id, |
| 207 int opener_render_frame_id, | 208 int opener_render_frame_id, |
| 208 bool* no_javascript_access) override; | 209 bool* no_javascript_access) override; |
| 209 void ResourceDispatcherHostCreated() override; | 210 void ResourceDispatcherHostCreated() override; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 // Vector of additional ChromeContentBrowserClientParts. | 344 // Vector of additional ChromeContentBrowserClientParts. |
| 344 // Parts are deleted in the reverse order they are added. | 345 // Parts are deleted in the reverse order they are added. |
| 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 346 | 347 |
| 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 348 | 349 |
| 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 350 }; | 351 }; |
| 351 | 352 |
| 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |