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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandlerTest.cpp

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #include "config.h"
6 #include "core/input/EventHandler.h" 5 #include "core/input/EventHandler.h"
7 6
8 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
9 #include "core/dom/Range.h" 8 #include "core/dom/Range.h"
10 #include "core/editing/Editor.h" 9 #include "core/editing/Editor.h"
11 #include "core/editing/FrameSelection.h" 10 #include "core/editing/FrameSelection.h"
12 #include "core/frame/FrameView.h" 11 #include "core/frame/FrameView.h"
13 #include "core/frame/LocalFrame.h" 12 #include "core/frame/LocalFrame.h"
14 #include "core/html/HTMLDocument.h" 13 #include "core/html/HTMLDocument.h"
15 #include "core/page/AutoscrollController.h" 14 #include "core/page/AutoscrollController.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 ASSERT_TRUE(selection.isCaret()); 165 ASSERT_TRUE(selection.isCaret());
167 EXPECT_EQ(Position(line, 0), selection.start()); 166 EXPECT_EQ(Position(line, 0), selection.start());
168 167
169 TapEventBuilder tripleTapEvent(IntPoint(0, 0), 3); 168 TapEventBuilder tripleTapEvent(IntPoint(0, 0), 3);
170 document().frame()->eventHandler().handleGestureEvent(tripleTapEvent); 169 document().frame()->eventHandler().handleGestureEvent(tripleTapEvent);
171 ASSERT_TRUE(selection.isCaret()); 170 ASSERT_TRUE(selection.isCaret());
172 EXPECT_EQ(Position(line, 0), selection.start()); 171 EXPECT_EQ(Position(line, 0), selection.start());
173 } 172 }
174 173
175 } // namespace blink 174 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698