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

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

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 void AllowMicAccessBasedOnPolicyAndAppPermissions(
475 const GURL& security_origin,
476 const MediaAccessResponseCallback& callback) OVERRIDE;
474 virtual SessionStorageNamespace* GetSessionStorageNamespace( 477 virtual SessionStorageNamespace* GetSessionStorageNamespace(
475 SiteInstance* instance) OVERRIDE; 478 SiteInstance* instance) OVERRIDE;
476 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE; 479 virtual SessionStorageNamespaceMap GetSessionStorageNamespaceMap() OVERRIDE;
477 virtual FrameTree* GetFrameTree() OVERRIDE; 480 virtual FrameTree* GetFrameTree() OVERRIDE;
478 481
479 // NavigatorDelegate --------------------------------------------------------- 482 // NavigatorDelegate ---------------------------------------------------------
480 483
481 virtual void DidStartProvisionalLoad( 484 virtual void DidStartProvisionalLoad(
482 RenderFrameHostImpl* render_frame_host, 485 RenderFrameHostImpl* render_frame_host,
483 const GURL& validated_url, 486 const GURL& validated_url,
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 // The accessibility mode for all frames. This is queried when each frame 1203 // The accessibility mode for all frames. This is queried when each frame
1201 // is created, and broadcast to all frames when it changes. 1204 // is created, and broadcast to all frames when it changes.
1202 AccessibilityMode accessibility_mode_; 1205 AccessibilityMode accessibility_mode_;
1203 1206
1204 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1207 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1205 }; 1208 };
1206 1209
1207 } // namespace content 1210 } // namespace content
1208 1211
1209 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1212 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698