| 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/public/test/layouttest_support.h" | 5 #include "content/public/test/layouttest_support.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "content/renderer/devtools/devtools_client.h" | 9 #include "content/renderer/devtools/devtools_client.h" |
| 10 #include "content/renderer/render_view_impl.h" | 10 #include "content/renderer/render_view_impl.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 void EnableDevToolsFrontendTesting() { | 55 void EnableDevToolsFrontendTesting() { |
| 56 DevToolsClient::EnableDevToolsFrontendTesting(); | 56 DevToolsClient::EnableDevToolsFrontendTesting(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 int GetLocalSessionHistoryLength(RenderView* render_view) { | 59 int GetLocalSessionHistoryLength(RenderView* render_view) { |
| 60 return static_cast<RenderViewImpl*>(render_view) | 60 return static_cast<RenderViewImpl*>(render_view) |
| 61 ->GetLocalSessionHistoryLengthForTesting(); | 61 ->GetLocalSessionHistoryLengthForTesting(); |
| 62 } | 62 } |
| 63 | 63 |
| 64 void DoNotRequireUserGestureForFocusChanges() { |
| 65 RenderViewImpl::DoNotRequireUserGestureForFocusChangesForTesting(); |
| 66 } |
| 67 |
| 64 } // namespace content | 68 } // namespace content |
| OLD | NEW |