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

Side by Side Diff: third_party/WebKit/Source/core/paint/BoxPainter.cpp

Issue 1743803002: Rename enums/functions that collide in chromium style in core/style/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-8
Patch Set: get-names-9: rebase Created 4 years, 9 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 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 "core/paint/BoxPainter.h" 5 #include "core/paint/BoxPainter.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/frame/Settings.h" 8 #include "core/frame/Settings.h"
9 #include "core/html/HTMLFrameOwnerElement.h" 9 #include "core/html/HTMLFrameOwnerElement.h"
10 #include "core/layout/ImageQualityController.h" 10 #include "core/layout/ImageQualityController.h"
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 else 685 else
686 clippedEdges |= GraphicsContext::BottomEdge; 686 clippedEdges |= GraphicsContext::BottomEdge;
687 } 687 }
688 context.drawInnerShadow(border, shadowColor, shadowOffset, shadowBlu r, shadowSpread, clippedEdges); 688 context.drawInnerShadow(border, shadowColor, shadowOffset, shadowBlu r, shadowSpread, clippedEdges);
689 } 689 }
690 } 690 }
691 } 691 }
692 692
693 bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle& style, const Document& document) 693 bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle& style, const Document& document)
694 { 694 {
695 return document.printing() && style.printColorAdjust() == PrintColorAdjustEc onomy 695 return document.printing() && style.getPrintColorAdjust() == PrintColorAdjus tEconomy
696 && (!document.settings() || !document.settings()->shouldPrintBackgrounds ()); 696 && (!document.settings() || !document.settings()->shouldPrintBackgrounds ());
697 } 697 }
698 698
699 } // namespace blink 699 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698