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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "cc/layers/texture_layer.h" | |
13 #include "third_party/WebKit/public/platform/WebLayer.h" | |
jam
2014/06/11 00:27:04
don't add headers if you can forward declare
| |
12 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" | 14 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
13 | 15 |
14 namespace blink { | 16 namespace blink { |
15 class WebBatteryStatus; | 17 class WebBatteryStatus; |
16 class WebDeviceMotionData; | 18 class WebDeviceMotionData; |
17 class WebDeviceOrientationData; | 19 class WebDeviceOrientationData; |
18 class WebGamepad; | 20 class WebGamepad; |
19 class WebGamepads; | 21 class WebGamepads; |
20 struct WebSize; | 22 struct WebSize; |
21 } | 23 } |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 void EnableAutoResizeMode(RenderView* render_view, | 105 void EnableAutoResizeMode(RenderView* render_view, |
104 const blink::WebSize& min_size, | 106 const blink::WebSize& min_size, |
105 const blink::WebSize& max_size); | 107 const blink::WebSize& max_size); |
106 void DisableAutoResizeMode(RenderView* render_view, | 108 void DisableAutoResizeMode(RenderView* render_view, |
107 const blink::WebSize& new_size); | 109 const blink::WebSize& new_size); |
108 | 110 |
109 // Provides a text dump of the contents of the given page state. | 111 // Provides a text dump of the contents of the given page state. |
110 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 112 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
111 size_t current_index); | 113 size_t current_index); |
112 | 114 |
115 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer); | |
jam
2014/06/11 00:27:04
nit: add comment
| |
116 | |
113 } // namespace content | 117 } // namespace content |
114 | 118 |
115 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 119 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
OLD | NEW |