OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 private: | 135 private: |
136 bool m_originalMockScrollbarEnabled; | 136 bool m_originalMockScrollbarEnabled; |
137 bool m_originalOverlayScrollbarsEnabled; | 137 bool m_originalOverlayScrollbarsEnabled; |
138 }; | 138 }; |
139 | 139 |
140 class TestWebWidgetClient : public WebWidgetClient { | 140 class TestWebWidgetClient : public WebWidgetClient { |
141 public: | 141 public: |
142 virtual ~TestWebWidgetClient() {} | 142 virtual ~TestWebWidgetClient() {} |
143 bool allowsBrokenNullLayerTreeView() const override { return true; } | 143 bool allowsBrokenNullLayerTreeView() const override { return true; } |
144 WebLayerTreeView* initializeLayerTreeView() override; | |
145 | |
146 private: | |
147 std::unique_ptr<WebLayerTreeView> m_layerTreeView; | |
148 }; | 144 }; |
149 | 145 |
150 class TestWebViewWidgetClient : public TestWebWidgetClient { | 146 class TestWebViewWidgetClient : public TestWebWidgetClient { |
151 public: | 147 public: |
152 explicit TestWebViewWidgetClient(TestWebViewClient* testWebViewClient) | 148 explicit TestWebViewWidgetClient(TestWebViewClient* testWebViewClient) |
153 : m_testWebViewClient(testWebViewClient) {} | 149 : m_testWebViewClient(testWebViewClient) {} |
154 virtual ~TestWebViewWidgetClient() {} | 150 virtual ~TestWebViewWidgetClient() {} |
155 | 151 |
156 WebLayerTreeView* initializeLayerTreeView() override; | 152 WebLayerTreeView* initializeLayerTreeView() override; |
157 void scheduleAnimation() override; | 153 void scheduleAnimation() override; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 WebDOMMessageEvent) override {} | 270 WebDOMMessageEvent) override {} |
275 | 271 |
276 private: | 272 private: |
277 Persistent<WebRemoteFrameImpl> const m_frame; | 273 Persistent<WebRemoteFrameImpl> const m_frame; |
278 }; | 274 }; |
279 | 275 |
280 } // namespace FrameTestHelpers | 276 } // namespace FrameTestHelpers |
281 } // namespace blink | 277 } // namespace blink |
282 | 278 |
283 #endif // FrameTestHelpers_h | 279 #endif // FrameTestHelpers_h |
OLD | NEW |