OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. | 2 * Copyright (C) 2007 Apple Inc. |
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
4 * Copyright (C) 2008 Collabora Ltd. | 4 * Copyright (C) 2008 Collabora Ltd. |
5 * Copyright (C) 2008, 2009 Google Inc. | 5 * Copyright (C) 2008, 2009 Google Inc. |
6 * Copyright (C) 2009 Kenneth Rohde Christiansen | 6 * Copyright (C) 2009 Kenneth Rohde Christiansen |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 LayoutRect magnifierRect(magnifierObject->offsetFromAncestorContainer(inputL
ayoutBox).width(), | 421 LayoutRect magnifierRect(magnifierObject->offsetFromAncestorContainer(inputL
ayoutBox).width(), |
422 inputContentBox.y() + (inputContentBox.height() - magnifierSize + 1) / 2
, | 422 inputContentBox.y() + (inputContentBox.height() - magnifierSize + 1) / 2
, |
423 magnifierSize, magnifierSize); | 423 magnifierSize, magnifierSize); |
424 IntRect paintingRect = convertToPaintingRect(inputLayoutBox, magnifierObject
, magnifierRect, r); | 424 IntRect paintingRect = convertToPaintingRect(inputLayoutBox, magnifierObject
, magnifierRect, r); |
425 | 425 |
426 DEFINE_STATIC_REF(Image, magnifierImage, (Image::loadPlatformResource("searc
hMagnifier"))); | 426 DEFINE_STATIC_REF(Image, magnifierImage, (Image::loadPlatformResource("searc
hMagnifier"))); |
427 paintInfo.context->drawImage(magnifierImage, paintingRect); | 427 paintInfo.context->drawImage(magnifierImage, paintingRect); |
428 return false; | 428 return false; |
429 } | 429 } |
430 | 430 |
431 bool ThemePainterDefault::paintMediaCastButton(LayoutObject* object, const Paint
Info& paintInfo, const IntRect& rect) | |
432 { | |
433 return MediaControlsPainter::paintMediaCastButton(object, paintInfo, rect); | |
434 } | |
435 | |
436 } // namespace blink | 431 } // namespace blink |
OLD | NEW |