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

Side by Side Diff: Source/core/css/AffectedByFocusTest.cpp

Issue 358603002: Remove StyleEngine.h include from RenderObject.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-style-bool-to-0
Patch Set: Rebased for landing Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/css/DragUpdateTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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" 5 #include "config.h"
6 #include "core/HTMLNames.h" 6 #include "core/HTMLNames.h"
7 #include "core/dom/Element.h" 7 #include "core/dom/Element.h"
8 #include "core/dom/ElementTraversal.h" 8 #include "core/dom/ElementTraversal.h"
9 #include "core/dom/NodeRenderStyle.h" 9 #include "core/dom/NodeRenderStyle.h"
10 #include "core/dom/StyleEngine.h"
10 #include "core/frame/FrameView.h" 11 #include "core/frame/FrameView.h"
11 #include "core/html/HTMLDocument.h" 12 #include "core/html/HTMLDocument.h"
12 #include "core/html/HTMLElement.h" 13 #include "core/html/HTMLElement.h"
13 #include "core/testing/DummyPageHolder.h" 14 #include "core/testing/DummyPageHolder.h"
14 #include <gtest/gtest.h> 15 #include <gtest/gtest.h>
15 16
16 using namespace WebCore; 17 using namespace WebCore;
17 using namespace HTMLNames; 18 using namespace HTMLNames;
18 19
19 namespace { 20 namespace {
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 308
308 document().getElementById("d")->focus(); 309 document().getElementById("d")->focus();
309 document().view()->updateLayoutAndStyleIfNeededRecursive(); 310 document().view()->updateLayoutAndStyleIfNeededRecursive();
310 311
311 unsigned accessCount = document().styleEngine()->resolverAccessCount() - sta rtCount; 312 unsigned accessCount = document().styleEngine()->resolverAccessCount() - sta rtCount;
312 313
313 ASSERT_EQ(1U, accessCount); 314 ASSERT_EQ(1U, accessCount);
314 } 315 }
315 316
316 } // namespace 317 } // namespace
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/DragUpdateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698