| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include <stddef.h> |
| |
| #include "base/strings/string16.h" |
| #include "content/browser/frame_host/render_frame_host_delegate.h" |
| #include "url/gurl.h" |
| |
| namespace content { |
| |
| bool RenderFrameHostDelegate::OnMessageReceived( |
| RenderFrameHost* render_view_host, |
| const IPC::Message& message) { |
| return false; |
| } |
| |
| const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const { |
| return GURL::EmptyGURL(); |
| } |
| |
| bool RenderFrameHostDelegate::AddMessageToConsole( |
| int32 level, const base::string16& message, int32 line_no, |
| const base::string16& source_id) { |
| return false; |
| } |
| |
| WebContents* RenderFrameHostDelegate::GetAsWebContents() { |
| return NULL; |
| } |
| |
| } // namespace content |