| 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/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 "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 bool RenderFrameHostDelegate::OnMessageReceived( | 16 bool RenderFrameHostDelegate::OnMessageReceived( |
| 17 RenderFrameHost* render_view_host, | 17 RenderFrameHost* render_view_host, |
| 18 const IPC::Message& message) { | 18 const IPC::Message& message) { |
| 19 return false; | 19 return false; |
| 20 } | 20 } |
| 21 | 21 |
| 22 const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const { | 22 const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const { |
| 23 return GURL::EmptyGURL(); | 23 return GURL::EmptyGURL(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 bool RenderFrameHostDelegate::WillHandleDeferAfterResponseStarted() { | |
| 27 return false; | |
| 28 } | |
| 29 | |
| 30 bool RenderFrameHostDelegate::AddMessageToConsole( | 26 bool RenderFrameHostDelegate::AddMessageToConsole( |
| 31 int32 level, const base::string16& message, int32 line_no, | 27 int32 level, const base::string16& message, int32 line_no, |
| 32 const base::string16& source_id) { | 28 const base::string16& source_id) { |
| 33 return false; | 29 return false; |
| 34 } | 30 } |
| 35 | 31 |
| 36 WebContents* RenderFrameHostDelegate::GetAsWebContents() { | 32 WebContents* RenderFrameHostDelegate::GetAsWebContents() { |
| 37 return NULL; | 33 return NULL; |
| 38 } | 34 } |
| 39 | 35 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 78 } |
| 83 | 79 |
| 84 #if defined(OS_WIN) | 80 #if defined(OS_WIN) |
| 85 gfx::NativeViewAccessible | 81 gfx::NativeViewAccessible |
| 86 RenderFrameHostDelegate::GetParentNativeViewAccessible() { | 82 RenderFrameHostDelegate::GetParentNativeViewAccessible() { |
| 87 return NULL; | 83 return NULL; |
| 88 } | 84 } |
| 89 #endif // defined(OS_WIN) | 85 #endif // defined(OS_WIN) |
| 90 | 86 |
| 91 } // namespace content | 87 } // namespace content |
| OLD | NEW |