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

Side by Side Diff: Source/core/editing/EditingStyle.cpp

Issue 13976008: Remove more #includes from Frame.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009 Apple Computer, Inc. 2 * Copyright (C) 2007, 2008, 2009 Apple Computer, Inc.
3 * Copyright (C) 2010, 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010, 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #include "config.h" 27 #include "config.h"
28 #include "EditingStyle.h" 28 #include "EditingStyle.h"
29 29
30 #include "ApplyStyleCommand.h" 30 #include "ApplyStyleCommand.h"
31 #include "CSSComputedStyleDeclaration.h" 31 #include "CSSComputedStyleDeclaration.h"
32 #include "CSSParser.h" 32 #include "CSSParser.h"
33 #include "CSSRuleList.h" 33 #include "CSSRuleList.h"
34 #include "CSSStyleRule.h" 34 #include "CSSStyleRule.h"
35 #include "CSSValueKeywords.h" 35 #include "CSSValueKeywords.h"
36 #include "CSSValueList.h" 36 #include "CSSValueList.h"
37 #include "Editor.h"
37 #include "Frame.h" 38 #include "Frame.h"
38 #include "FrameSelection.h" 39 #include "FrameSelection.h"
39 #include "HTMLFontElement.h" 40 #include "HTMLFontElement.h"
40 #include "HTMLInterchange.h" 41 #include "HTMLInterchange.h"
41 #include "HTMLNames.h" 42 #include "HTMLNames.h"
42 #include "Node.h" 43 #include "Node.h"
43 #include "NodeTraversal.h" 44 #include "NodeTraversal.h"
44 #include "Position.h" 45 #include "Position.h"
45 #include "QualifiedName.h" 46 #include "QualifiedName.h"
46 #include "RenderStyle.h" 47 #include "RenderStyle.h"
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 { 1597 {
1597 for (Node* ancestor = node; ancestor; ancestor = ancestor->parentNode()) { 1598 for (Node* ancestor = node; ancestor; ancestor = ancestor->parentNode()) {
1598 RefPtr<CSSComputedStyleDeclaration> ancestorStyle = CSSComputedStyleDecl aration::create(ancestor); 1599 RefPtr<CSSComputedStyleDeclaration> ancestorStyle = CSSComputedStyleDecl aration::create(ancestor);
1599 if (!hasTransparentBackgroundColor(ancestorStyle.get())) 1600 if (!hasTransparentBackgroundColor(ancestorStyle.get()))
1600 return ancestorStyle->getPropertyCSSValue(CSSPropertyBackgroundColor ); 1601 return ancestorStyle->getPropertyCSSValue(CSSPropertyBackgroundColor );
1601 } 1602 }
1602 return 0; 1603 return 0;
1603 } 1604 }
1604 1605
1605 } 1606 }
OLDNEW
« no previous file with comments | « Source/core/editing/CompositeEditCommand.cpp ('k') | Source/core/editing/InsertLineBreakCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698