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

Side by Side Diff: Source/core/rendering/RenderWidget.cpp

Issue 16357011: Remove support for -webkit-color-correction (which we've never supported on (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resolve merge conflicts, obey brace style changes Created 7 years, 6 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 | « Source/core/rendering/RenderView.cpp ('k') | Source/core/rendering/RootInlineBox.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 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 if (m_widget) 298 if (m_widget)
299 paintContents(paintInfo, paintOffset); 299 paintContents(paintInfo, paintOffset);
300 300
301 if (style()->hasBorderRadius()) 301 if (style()->hasBorderRadius())
302 paintInfo.context->restore(); 302 paintInfo.context->restore();
303 303
304 // Paint a partially transparent wash over selected widgets. 304 // Paint a partially transparent wash over selected widgets.
305 if (isSelected() && !document()->printing()) { 305 if (isSelected() && !document()->printing()) {
306 // FIXME: selectionRect() is in absolute, not painting coordinates. 306 // FIXME: selectionRect() is in absolute, not painting coordinates.
307 paintInfo.context->fillRect(pixelSnappedIntRect(selectionRect()), select ionBackgroundColor(), style()->colorSpace()); 307 paintInfo.context->fillRect(pixelSnappedIntRect(selectionRect()), select ionBackgroundColor());
308 } 308 }
309 309
310 if (hasLayer() && layer()->canResize()) 310 if (hasLayer() && layer()->canResize())
311 layer()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOf fset), paintInfo.rect); 311 layer()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOf fset), paintInfo.rect);
312 } 312 }
313 313
314 void RenderWidget::setOverlapTestResult(bool isOverlapped) 314 void RenderWidget::setOverlapTestResult(bool isOverlapped)
315 { 315 {
316 ASSERT(m_widget); 316 ASSERT(m_widget);
317 ASSERT(m_widget->isFrameView()); 317 ASSERT(m_widget->isFrameView());
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor ) const 380 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor ) const
381 { 381 {
382 if (widget() && widget()->isPluginView()) { 382 if (widget() && widget()->isPluginView()) {
383 // A plug-in is responsible for setting the cursor when the pointer is o ver it. 383 // A plug-in is responsible for setting the cursor when the pointer is o ver it.
384 return DoNotSetCursor; 384 return DoNotSetCursor;
385 } 385 }
386 return RenderReplaced::getCursor(point, cursor); 386 return RenderReplaced::getCursor(point, cursor);
387 } 387 }
388 388
389 } // namespace WebCore 389 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderView.cpp ('k') | Source/core/rendering/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698