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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 virtual void ShowCreatedWindow(int route_id, | 464 virtual void ShowCreatedWindow(int route_id, |
465 WindowOpenDisposition disposition, | 465 WindowOpenDisposition disposition, |
466 const gfx::Rect& initial_pos, | 466 const gfx::Rect& initial_pos, |
467 bool user_gesture) OVERRIDE; | 467 bool user_gesture) OVERRIDE; |
468 virtual void ShowCreatedWidget(int route_id, | 468 virtual void ShowCreatedWidget(int route_id, |
469 const gfx::Rect& initial_pos) OVERRIDE; | 469 const gfx::Rect& initial_pos) OVERRIDE; |
470 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 470 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
471 virtual void RequestMediaAccessPermission( | 471 virtual void RequestMediaAccessPermission( |
472 const MediaStreamRequest& request, | 472 const MediaStreamRequest& request, |
473 const MediaResponseCallback& callback) OVERRIDE; | 473 const MediaResponseCallback& callback) OVERRIDE; |
| 474 virtual bool CheckMediaAccessPermission(const GURL& security_origin, |
| 475 MediaStreamType type) OVERRIDE; |
474 virtual SessionStorageNamespace* GetSessionStorageNamespace( | 476 virtual SessionStorageNamespace* GetSessionStorageNamespace( |
475 SiteInstance* instance) OVERRIDE; | 477 SiteInstance* instance) OVERRIDE; |
476 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE; | 478 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE; |
477 virtual FrameTree* GetFrameTree() OVERRIDE; | 479 virtual FrameTree* GetFrameTree() OVERRIDE; |
478 | 480 |
479 // NavigatorDelegate --------------------------------------------------------- | 481 // NavigatorDelegate --------------------------------------------------------- |
480 | 482 |
481 virtual void DidStartProvisionalLoad( | 483 virtual void DidStartProvisionalLoad( |
482 RenderFrameHostImpl* render_frame_host, | 484 RenderFrameHostImpl* render_frame_host, |
483 const GURL& validated_url, | 485 const GURL& validated_url, |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 // The accessibility mode for all frames. This is queried when each frame | 1204 // The accessibility mode for all frames. This is queried when each frame |
1203 // is created, and broadcast to all frames when it changes. | 1205 // is created, and broadcast to all frames when it changes. |
1204 AccessibilityMode accessibility_mode_; | 1206 AccessibilityMode accessibility_mode_; |
1205 | 1207 |
1206 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1208 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1207 }; | 1209 }; |
1208 | 1210 |
1209 } // namespace content | 1211 } // namespace content |
1210 | 1212 |
1211 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1213 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |