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.
5 #include "content/shell/renderer/layout_test/layout_test_render_frame_observer.h"
7 #include "components/test_runner/web_test_interfaces.h"
8 #include "components/test_runner/web_test_runner.h"
9 #include "content/public/renderer/render_frame.h"
10 #include "content/shell/renderer/layout_test/layout_test_render_process_observer.h"
11 #include "third_party/WebKit/public/web/WebLocalFrame.h"
15 LayoutTestRenderFrameObserver::LayoutTestRenderFrameObserver(
16 RenderFrame
* render_frame
)
17 : RenderFrameObserver(render_frame
) {
18 render_frame
->GetWebFrame()->setContentSettingsClient(
19 LayoutTestRenderProcessObserver::GetInstance()
22 ->GetWebContentSettings());
25 } // namespace content