blob: c4127792366176e7f4cc9e5e91f337801c085dec [file] [log] [blame]
// 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.
#ifndef CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
#define CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
#include "content/public/renderer/render_view_observer.h"
namespace blink {
class WebFrame;
}
namespace content {
class RenderView;
class ShellRenderViewObserver : public RenderViewObserver {
public:
explicit ShellRenderViewObserver(RenderView* render_view);
virtual ~ShellRenderViewObserver() {}
private:
// RenderViewObserver implementation.
virtual void DidClearWindowObject(blink::WebFrame* frame) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver);
};
} // namespace content
#endif // CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_