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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 407493004: Revert of Revert of Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/browser/frame_host/render_frame_host_delegate.h" 9 #include "content/browser/frame_host/render_frame_host_delegate.h"
10 #include "ui/gfx/native_widget_types.h"
10 #include "url/gurl.h" 11 #include "url/gurl.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 bool RenderFrameHostDelegate::OnMessageReceived( 15 bool RenderFrameHostDelegate::OnMessageReceived(
15 RenderFrameHost* render_view_host, 16 RenderFrameHost* render_view_host,
16 const IPC::Message& message) { 17 const IPC::Message& message) {
17 return false; 18 return false;
18 } 19 }
19 20
(...skipping 16 matching lines...) Expand all
36 } 37 }
37 38
38 void RenderFrameHostDelegate::RequestMediaAccessPermission( 39 void RenderFrameHostDelegate::RequestMediaAccessPermission(
39 const MediaStreamRequest& request, 40 const MediaStreamRequest& request,
40 const MediaResponseCallback& callback) { 41 const MediaResponseCallback& callback) {
41 callback.Run(MediaStreamDevices(), 42 callback.Run(MediaStreamDevices(),
42 MEDIA_DEVICE_INVALID_STATE, 43 MEDIA_DEVICE_INVALID_STATE,
43 scoped_ptr<MediaStreamUI>()); 44 scoped_ptr<MediaStreamUI>());
44 } 45 }
45 46
47 AccessibilityMode RenderFrameHostDelegate::GetAccessibilityMode() const {
48 return AccessibilityModeOff;
49 }
50
51 #if defined(OS_WIN)
52 gfx::NativeViewAccessible
53 RenderFrameHostDelegate::GetParentNativeViewAccessible() {
54 return NULL;
55 }
56 #endif // defined(OS_WIN)
57
46 } // namespace content 58 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698