blob: 8d653dae5771bf47a602762b88fa3d780fe778c4 [file] [log] [blame]
[email protected]81914ad2013-07-02 18:54:251// 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
tfarinabccc34c72015-02-27 21:32:155#ifndef CONTENT_SHELL_RENDERER_SHELL_RENDER_VIEW_OBSERVER_H_
6#define CONTENT_SHELL_RENDERER_SHELL_RENDER_VIEW_OBSERVER_H_
[email protected]81914ad2013-07-02 18:54:257
avi66a07722015-12-25 23:38:128#include "base/macros.h"
[email protected]81914ad2013-07-02 18:54:259#include "content/public/renderer/render_view_observer.h"
10
[email protected]180ef242013-11-07 06:50:4611namespace blink {
esprehn4b0602d2015-11-13 16:45:3712class WebLocalFrame;
[email protected]81914ad2013-07-02 18:54:2513}
14
15namespace content {
16
17class RenderView;
18
19
20class ShellRenderViewObserver : public RenderViewObserver {
21 public:
22 explicit ShellRenderViewObserver(RenderView* render_view);
dchenge933b3e2014-10-21 11:44:0923 ~ShellRenderViewObserver() override;
[email protected]81914ad2013-07-02 18:54:2524
25 private:
26 // RenderViewObserver implementation.
dchenge933b3e2014-10-21 11:44:0927 void DidClearWindowObject(blink::WebLocalFrame* frame) override;
xjz694b50a92016-06-07 21:49:3728 void OnDestruct() override;
[email protected]81914ad2013-07-02 18:54:2529
[email protected]81914ad2013-07-02 18:54:2530 DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver);
31};
32
33} // namespace content
34
tfarinabccc34c72015-02-27 21:32:1535#endif // CONTENT_SHELL_RENDERER_SHELL_RENDER_VIEW_OBSERVER_H_