OLD | NEW |
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/strings/string16.h" | 7 #include "base/strings/string16.h" |
8 #include "content/browser/frame_host/render_frame_host_delegate.h" | 8 #include "content/browser/frame_host/render_frame_host_delegate.h" |
| 9 #include "ui/gfx/native_widget_types.h" |
9 #include "url/gurl.h" | 10 #include "url/gurl.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 bool RenderFrameHostDelegate::OnMessageReceived( | 14 bool RenderFrameHostDelegate::OnMessageReceived( |
14 RenderFrameHost* render_view_host, | 15 RenderFrameHost* render_view_host, |
15 const IPC::Message& message) { | 16 const IPC::Message& message) { |
16 return false; | 17 return false; |
17 } | 18 } |
18 | 19 |
19 const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const { | 20 const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const { |
20 return GURL::EmptyGURL(); | 21 return GURL::EmptyGURL(); |
21 } | 22 } |
22 | 23 |
23 bool RenderFrameHostDelegate::WillHandleDeferAfterResponseStarted() { | 24 bool RenderFrameHostDelegate::WillHandleDeferAfterResponseStarted() { |
24 return false; | 25 return false; |
25 } | 26 } |
26 | 27 |
27 bool RenderFrameHostDelegate::AddMessageToConsole( | 28 bool RenderFrameHostDelegate::AddMessageToConsole( |
28 int32 level, const base::string16& message, int32 line_no, | 29 int32 level, const base::string16& message, int32 line_no, |
29 const base::string16& source_id) { | 30 const base::string16& source_id) { |
30 return false; | 31 return false; |
31 } | 32 } |
32 | 33 |
33 WebContents* RenderFrameHostDelegate::GetAsWebContents() { | 34 WebContents* RenderFrameHostDelegate::GetAsWebContents() { |
34 return NULL; | 35 return NULL; |
35 } | 36 } |
36 | 37 |
| 38 AccessibilityMode RenderFrameHostDelegate::GetAccessibilityMode() const { |
| 39 return AccessibilityModeOff; |
| 40 } |
| 41 |
| 42 #if defined(OS_WIN) |
| 43 gfx::NativeViewAccessible |
| 44 RenderFrameHostDelegate::GetParentNativeViewAccessible() { |
| 45 return NULL; |
| 46 } |
| 47 #endif // defined(OS_WIN) |
| 48 |
37 } // namespace content | 49 } // namespace content |
OLD | NEW |