| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/shell/renderer/layout_test/blink_test_runner.h" | 5 #include "content/shell/renderer/layout_test/blink_test_runner.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <clocale> | 10 #include <clocale> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 protected: | 202 protected: |
| 203 ~MockAudioCapturerSource() override {} | 203 ~MockAudioCapturerSource() override {} |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace | 206 } // namespace |
| 207 | 207 |
| 208 BlinkTestRunner::BlinkTestRunner(RenderView* render_view) | 208 BlinkTestRunner::BlinkTestRunner(RenderView* render_view) |
| 209 : RenderViewObserver(render_view), | 209 : RenderViewObserver(render_view), |
| 210 RenderViewObserverTracker<BlinkTestRunner>(render_view), | 210 RenderViewObserverTracker<BlinkTestRunner>(render_view), |
| 211 proxy_(NULL), | |
| 212 is_main_window_(false), | 211 is_main_window_(false), |
| 213 focus_on_next_commit_(false), | 212 focus_on_next_commit_(false), |
| 214 leak_detector_(new LeakDetector(this)) { | 213 leak_detector_(new LeakDetector(this)) { |
| 215 } | 214 } |
| 216 | 215 |
| 217 BlinkTestRunner::~BlinkTestRunner() { | 216 BlinkTestRunner::~BlinkTestRunner() { |
| 218 } | 217 } |
| 219 | 218 |
| 220 // WebTestDelegate ----------------------------------------------------------- | 219 // WebTestDelegate ----------------------------------------------------------- |
| 221 | 220 |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 get_bluetooth_events_callbacks_.pop_front(); | 959 get_bluetooth_events_callbacks_.pop_front(); |
| 961 callback.Run(events); | 960 callback.Run(events); |
| 962 } | 961 } |
| 963 | 962 |
| 964 void BlinkTestRunner::ReportLeakDetectionResult( | 963 void BlinkTestRunner::ReportLeakDetectionResult( |
| 965 const LeakDetectionResult& report) { | 964 const LeakDetectionResult& report) { |
| 966 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 965 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
| 967 } | 966 } |
| 968 | 967 |
| 969 } // namespace content | 968 } // namespace content |
| OLD | NEW |