Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 562263002: Check media permissions through RenderFrameHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_get_sources
Patch Set: git cl format. Don't blame me. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698