OLD | NEW |
(Empty) | |
| 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_FRAME_OBSERVER_H_ |
| 6 #define CONTENT_SHELL_SHELL_RENDER_FRAME_OBSERVER_H_ |
| 7 |
| 8 #include "content/public/renderer/render_frame_observer.h" |
| 9 |
| 10 namespace blink { |
| 11 class WebFrame; |
| 12 } |
| 13 |
| 14 namespace content { |
| 15 class RenderFrame; |
| 16 |
| 17 class ShellRenderFrameObserver : public RenderFrameObserver { |
| 18 public: |
| 19 explicit ShellRenderFrameObserver(RenderFrame* render_frame); |
| 20 virtual ~ShellRenderFrameObserver() {} |
| 21 |
| 22 private: |
| 23 // content::RenderFrameObserver implementation. |
| 24 virtual void WebFrameCreated(blink::WebFrame* frame) OVERRIDE; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(ShellRenderFrameObserver); |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 |
| 31 #endif // CONTENT_SHELL_SHELL_RENDER_FRAME_OBSERVER_H_ |
OLD | NEW |