OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ |
6 #define CONTENT_SHELL_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ |
7 | 7 |
8 #include "content/public/renderer/render_frame_observer.h" | 8 #include "content/public/renderer/render_frame_observer.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 class WebFrame; | 11 class WebFrame; |
12 } | 12 } |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class RenderFrame; | 15 class RenderFrame; |
16 | 16 |
17 class LayoutTestRenderFrameObserver : public RenderFrameObserver { | 17 class LayoutTestRenderFrameObserver : public RenderFrameObserver { |
18 public: | 18 public: |
19 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); | 19 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); |
20 ~LayoutTestRenderFrameObserver() override {} | 20 ~LayoutTestRenderFrameObserver() override {} |
21 | 21 |
22 private: | 22 private: |
23 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); | 23 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace content | 26 } // namespace content |
27 | 27 |
28 #endif // CONTENT_SHELL_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ | 28 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_
H_ |
OLD | NEW |