| 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 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 | 9 |
| 10 namespace WebKit { | 10 namespace WebKit { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void SetFocusAndActivate(RenderView* render_view, bool enable); | 53 void SetFocusAndActivate(RenderView* render_view, bool enable); |
| 54 | 54 |
| 55 // When WebKit requests a size change, immediately report the new sizes back to | 55 // When WebKit requests a size change, immediately report the new sizes back to |
| 56 // WebKit instead of waiting for the browser to acknowledge the new size. | 56 // WebKit instead of waiting for the browser to acknowledge the new size. |
| 57 void EnableShortCircuitSizeUpdates(); | 57 void EnableShortCircuitSizeUpdates(); |
| 58 | 58 |
| 59 // Changes the window rect of the given render view. | 59 // Changes the window rect of the given render view. |
| 60 void ForceResizeRenderView(RenderView* render_view, | 60 void ForceResizeRenderView(RenderView* render_view, |
| 61 const WebKit::WebSize& new_size); | 61 const WebKit::WebSize& new_size); |
| 62 | 62 |
| 63 // Never display error pages when a navigation fails. |
| 64 void DisableNavigationErrorPages(); |
| 65 |
| 63 } // namespace content | 66 } // namespace content |
| 64 | 67 |
| 65 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 68 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |