| 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 "base/macros.h" |
| 9 #include "content/public/renderer/render_frame_observer.h" | 9 #include "content/public/renderer/render_frame_observer.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 class LayoutTestRenderFrameObserver : public RenderFrameObserver { | 24 class LayoutTestRenderFrameObserver : public RenderFrameObserver { |
| 25 public: | 25 public: |
| 26 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); | 26 explicit LayoutTestRenderFrameObserver(RenderFrame* render_frame); |
| 27 ~LayoutTestRenderFrameObserver() override {} | 27 ~LayoutTestRenderFrameObserver() override {} |
| 28 | 28 |
| 29 bool OnMessageReceived(const IPC::Message& message) override; | 29 bool OnMessageReceived(const IPC::Message& message) override; |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 void OnLayoutDumpRequest(); | 32 void OnLayoutDumpRequest(); |
| 33 void OnReplicateLayoutTestRuntimeFlagsChanges( | |
| 34 const base::DictionaryValue& changed_layout_test_runtime_flags); | |
| 35 void OnSetTestConfiguration(const ShellTestConfiguration& test_config); | 33 void OnSetTestConfiguration(const ShellTestConfiguration& test_config); |
| 36 void OnReplicateTestConfiguration( | 34 void OnReplicateTestConfiguration(const ShellTestConfiguration& test_config); |
| 37 const ShellTestConfiguration& test_config, | |
| 38 const base::DictionaryValue& | |
| 39 accumulated_layout_test_runtime_flags_changes); | |
| 40 void OnSetupSecondaryRenderer(); | 35 void OnSetupSecondaryRenderer(); |
| 41 | 36 |
| 42 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); | 37 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderFrameObserver); |
| 43 }; | 38 }; |
| 44 | 39 |
| 45 } // namespace content | 40 } // namespace content |
| 46 | 41 |
| 47 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_
H_ | 42 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_FRAME_OBSERVER_
H_ |
| OLD | NEW |