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

Side by Side Diff: third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/css/ActiveStyleSheets.h" 5 #include "core/css/ActiveStyleSheets.h"
6 6
7 #include "bindings/core/v8/V8Binding.h" 7 #include "bindings/core/v8/V8BindingForCore.h"
8 #include "core/css/CSSStyleSheet.h" 8 #include "core/css/CSSStyleSheet.h"
9 #include "core/css/MediaQueryEvaluator.h" 9 #include "core/css/MediaQueryEvaluator.h"
10 #include "core/css/StyleSheetContents.h" 10 #include "core/css/StyleSheetContents.h"
11 #include "core/css/StyleSheetList.h" 11 #include "core/css/StyleSheetList.h"
12 #include "core/css/parser/CSSParserContext.h" 12 #include "core/css/parser/CSSParserContext.h"
13 #include "core/css/parser/MediaQueryParser.h" 13 #include "core/css/parser/MediaQueryParser.h"
14 #include "core/dom/StyleEngine.h" 14 #include "core/dom/StyleEngine.h"
15 #include "core/dom/shadow/ShadowRoot.h" 15 #include "core/dom/shadow/ShadowRoot.h"
16 #include "core/dom/shadow/ShadowRootInit.h" 16 #include "core/dom/shadow/ShadowRootInit.h"
17 #include "core/frame/FrameView.h" 17 #include "core/frame/FrameView.h"
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 ActiveStyleSheetVector old_style_sheets; 571 ActiveStyleSheetVector old_style_sheets;
572 old_style_sheets.push_back( 572 old_style_sheets.push_back(
573 std::make_pair(css_sheet, &css_sheet->Contents()->GetRuleSet())); 573 std::make_pair(css_sheet, &css_sheet->Contents()->GetRuleSet()));
574 GetStyleEngine().ApplyRuleSetChanges(shadow_root, old_style_sheets, 574 GetStyleEngine().ApplyRuleSetChanges(shadow_root, old_style_sheets,
575 ActiveStyleSheetVector()); 575 ActiveStyleSheetVector());
576 576
577 EXPECT_TRUE(GetStyleEngine().TreeBoundaryCrossingScopes().IsEmpty()); 577 EXPECT_TRUE(GetStyleEngine().TreeBoundaryCrossingScopes().IsEmpty());
578 } 578 }
579 579
580 } // namespace blink 580 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp ('k') | third_party/WebKit/Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698