Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: Source/web/tests/mocks/MockWebViewClient.h

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove extra incs. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MockWebViewClient_h
6 #define MockWebViewClient_h
7
8 #include "web/tests/FrameTestHelpers.h"
9
10 namespace blink {
11
12 class WebLayerTreeView;
13
14 class MockWebViewClient final : public FrameTestHelpers::TestWebViewClient {
15 public:
16 explicit MockWebViewClient(WebLayerTreeView&);
17
18 WebLayerTreeView* layerTreeView() override { return m_layerTreeView; }
19
20 // Disable threaded scrolling so writing to a MockRequest causes sync
dcheng 2015/08/27 23:10:22 s/scrolling/parsing
esprehn 2015/08/28 08:31:43 Done.
21 // parsing of the html.
22 bool disableThreadedParsingForUnitTests() const override { return true; }
23
24 private:
25 WebLayerTreeView* m_layerTreeView;
26 };
27
28 } // namespace blink
29
30 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698