| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // Set the device scale factor and force the compositor to resize. | 66 // Set the device scale factor and force the compositor to resize. |
| 67 void SetDeviceScaleFactor(RenderView* render_view, float factor); | 67 void SetDeviceScaleFactor(RenderView* render_view, float factor); |
| 68 | 68 |
| 69 // Disable system calls related to drag & drop. | 69 // Disable system calls related to drag & drop. |
| 70 void DisableSystemDragDrop(); | 70 void DisableSystemDragDrop(); |
| 71 | 71 |
| 72 // Don't show modal popup menus. | 72 // Don't show modal popup menus. |
| 73 void DisableModalPopupMenus(); | 73 void DisableModalPopupMenus(); |
| 74 | 74 |
| 75 // Control auto resize mode. |
| 76 void EnableAutoResizeMode(RenderView* render_view, |
| 77 const WebKit::WebSize& min_size, |
| 78 const WebKit::WebSize& max_size); |
| 79 void DisableAutoResizeMode(RenderView* render_view, |
| 80 const WebKit::WebSize& new_size); |
| 81 |
| 75 } // namespace content | 82 } // namespace content |
| 76 | 83 |
| 77 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 84 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |