• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
7 
8 #include "content/public/renderer/render_view_observer.h"
9 
10 namespace blink {
11 class WebFrame;
12 }
13 
14 namespace content {
15 
16 class RenderView;
17 
18 
19 class ShellRenderViewObserver : public RenderViewObserver {
20  public:
21   explicit ShellRenderViewObserver(RenderView* render_view);
~ShellRenderViewObserver()22   virtual ~ShellRenderViewObserver() {}
23 
24  private:
25   // RenderViewObserver implementation.
26   virtual void DidClearWindowObject(blink::WebLocalFrame* frame) OVERRIDE;
27 
28   DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver);
29 };
30 
31 }  // namespace content
32 
33 #endif  // CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
34