| 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; |
| 144 }; | 148 }; |
| 145 | 149 |
| 146 class TestWebViewWidgetClient : public TestWebWidgetClient { | 150 class TestWebViewWidgetClient : public TestWebWidgetClient { |
| 147 public: | 151 public: |
| 148 explicit TestWebViewWidgetClient(TestWebViewClient* testWebViewClient) | 152 explicit TestWebViewWidgetClient(TestWebViewClient* testWebViewClient) |
| 149 : m_testWebViewClient(testWebViewClient) {} | 153 : m_testWebViewClient(testWebViewClient) {} |
| 150 virtual ~TestWebViewWidgetClient() {} | 154 virtual ~TestWebViewWidgetClient() {} |
| 151 | 155 |
| 152 WebLayerTreeView* initializeLayerTreeView() override; | 156 WebLayerTreeView* initializeLayerTreeView() override; |
| 153 void scheduleAnimation() override; | 157 void scheduleAnimation() override; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 WebDOMMessageEvent) override {} | 274 WebDOMMessageEvent) override {} |
| 271 | 275 |
| 272 private: | 276 private: |
| 273 Persistent<WebRemoteFrameImpl> const m_frame; | 277 Persistent<WebRemoteFrameImpl> const m_frame; |
| 274 }; | 278 }; |
| 275 | 279 |
| 276 } // namespace FrameTestHelpers | 280 } // namespace FrameTestHelpers |
| 277 } // namespace blink | 281 } // namespace blink |
| 278 | 282 |
| 279 #endif // FrameTestHelpers_h | 283 #endif // FrameTestHelpers_h |
| OLD | NEW |