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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 virtual void ShowCreatedWindow(int route_id, | 470 virtual void ShowCreatedWindow(int route_id, |
471 WindowOpenDisposition disposition, | 471 WindowOpenDisposition disposition, |
472 const gfx::Rect& initial_pos, | 472 const gfx::Rect& initial_pos, |
473 bool user_gesture) OVERRIDE; | 473 bool user_gesture) OVERRIDE; |
474 virtual void ShowCreatedWidget(int route_id, | 474 virtual void ShowCreatedWidget(int route_id, |
475 const gfx::Rect& initial_pos) OVERRIDE; | 475 const gfx::Rect& initial_pos) OVERRIDE; |
476 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 476 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
477 virtual void RequestMediaAccessPermission( | 477 virtual void RequestMediaAccessPermission( |
478 const MediaStreamRequest& request, | 478 const MediaStreamRequest& request, |
479 const MediaResponseCallback& callback) OVERRIDE; | 479 const MediaResponseCallback& callback) OVERRIDE; |
| 480 virtual bool CheckMediaAccessPermission(const GURL& security_origin, |
| 481 MediaStreamType type) OVERRIDE; |
480 virtual SessionStorageNamespace* GetSessionStorageNamespace( | 482 virtual SessionStorageNamespace* GetSessionStorageNamespace( |
481 SiteInstance* instance) OVERRIDE; | 483 SiteInstance* instance) OVERRIDE; |
482 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE; | 484 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE; |
483 virtual FrameTree* GetFrameTree() OVERRIDE; | 485 virtual FrameTree* GetFrameTree() OVERRIDE; |
484 | 486 |
485 // NavigatorDelegate --------------------------------------------------------- | 487 // NavigatorDelegate --------------------------------------------------------- |
486 | 488 |
487 virtual void DidStartProvisionalLoad( | 489 virtual void DidStartProvisionalLoad( |
488 RenderFrameHostImpl* render_frame_host, | 490 RenderFrameHostImpl* render_frame_host, |
489 const GURL& validated_url, | 491 const GURL& validated_url, |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 AudioStreamMonitor audio_stream_monitor_; | 1242 AudioStreamMonitor audio_stream_monitor_; |
1241 | 1243 |
1242 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1244 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
1243 | 1245 |
1244 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1246 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1245 }; | 1247 }; |
1246 | 1248 |
1247 } // namespace content | 1249 } // namespace content |
1248 | 1250 |
1249 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1251 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |