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_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/public/renderer/render_frame_observer.h" | 9 #include "content/public/renderer/render_frame_observer.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 class RenderFrame; | 12 class RenderFrame; |
12 | 13 |
13 class LayoutTestRenderFrameObserver : public RenderFrameObserver { | 14 class LayoutTestRenderFrameObserver : public RenderFrameObserver { |
14 public: | 15 public: |
15 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); | 16 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); |
16 ~LayoutTestRenderFrameObserver() override {} | 17 ~LayoutTestRenderFrameObserver() override {} |
17 | 18 |
18 private: | 19 private: |
19 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); | 20 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); |
20 }; | 21 }; |
21 | 22 |
22 } // namespace content | 23 } // namespace content |
23 | 24 |
24 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_
H_ | 25 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_
H_ |
OLD | NEW |