| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 { | 93 { |
| 94 m_client->invalidateContentsForSlowScroll(updateRect); | 94 m_client->invalidateContentsForSlowScroll(updateRect); |
| 95 } | 95 } |
| 96 | 96 |
| 97 void Chrome::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, con
st IntRect& clipRect) | 97 void Chrome::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, con
st IntRect& clipRect) |
| 98 { | 98 { |
| 99 m_client->scroll(scrollDelta, rectToScroll, clipRect); | 99 m_client->scroll(scrollDelta, rectToScroll, clipRect); |
| 100 InspectorInstrumentation::didScroll(m_page); | 100 InspectorInstrumentation::didScroll(m_page); |
| 101 } | 101 } |
| 102 | 102 |
| 103 #if USE(TILED_BACKING_STORE) | |
| 104 void Chrome::delegatedScrollRequested(const IntPoint& scrollPoint) | |
| 105 { | |
| 106 m_client->delegatedScrollRequested(scrollPoint); | |
| 107 } | |
| 108 #endif | |
| 109 | |
| 110 IntPoint Chrome::screenToRootView(const IntPoint& point) const | 103 IntPoint Chrome::screenToRootView(const IntPoint& point) const |
| 111 { | 104 { |
| 112 return m_client->screenToRootView(point); | 105 return m_client->screenToRootView(point); |
| 113 } | 106 } |
| 114 | 107 |
| 115 IntRect Chrome::rootViewToScreen(const IntRect& rect) const | 108 IntRect Chrome::rootViewToScreen(const IntRect& rect) const |
| 116 { | 109 { |
| 117 return m_client->rootViewToScreen(rect); | 110 return m_client->rootViewToScreen(rect); |
| 118 } | 111 } |
| 119 | 112 |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 } | 558 } |
| 566 | 559 |
| 567 void Chrome::notifyPopupOpeningObservers() const | 560 void Chrome::notifyPopupOpeningObservers() const |
| 568 { | 561 { |
| 569 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); | 562 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); |
| 570 for (size_t i = 0; i < observers.size(); ++i) | 563 for (size_t i = 0; i < observers.size(); ++i) |
| 571 observers[i]->willOpenPopup(); | 564 observers[i]->willOpenPopup(); |
| 572 } | 565 } |
| 573 | 566 |
| 574 } // namespace WebCore | 567 } // namespace WebCore |
| OLD | NEW |