Home | History | Annotate | Download | only in frame_host
      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
      3 // found in the LICENSE file.
      4 
      5 #include <stddef.h>
      6 
      7 #include "base/strings/string16.h"
      8 #include "content/browser/frame_host/render_frame_host_delegate.h"
      9 #include "url/gurl.h"
     10 
     11 namespace content {
     12 
     13 bool RenderFrameHostDelegate::OnMessageReceived(
     14     RenderFrameHost* render_view_host,
     15     const IPC::Message& message) {
     16   return false;
     17 }
     18 
     19 const GURL& RenderFrameHostDelegate::GetMainFrameLastCommittedURL() const {
     20   return GURL::EmptyGURL();
     21 }
     22 
     23 bool RenderFrameHostDelegate::AddMessageToConsole(
     24     int32 level, const base::string16& message, int32 line_no,
     25     const base::string16& source_id) {
     26   return false;
     27 }
     28 
     29 WebContents* RenderFrameHostDelegate::GetAsWebContents() {
     30   return NULL;
     31 }
     32 
     33 }  // namespace content
     34