| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 Chrome::~Chrome() | 45 Chrome::~Chrome() |
| 46 { | 46 { |
| 47 } | 47 } |
| 48 | 48 |
| 49 PassOwnPtr<Chrome> Chrome::create(Page* page, ChromeClient* client) | 49 PassOwnPtr<Chrome> Chrome::create(Page* page, ChromeClient* client) |
| 50 { | 50 { |
| 51 return adoptPtr(new Chrome(page, client)); | 51 return adoptPtr(new Chrome(page, client)); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void Chrome::invalidateContentsAndRootView(const IntRect& updateRect) | |
| 55 { | |
| 56 m_client->invalidateContentsAndRootView(updateRect); | |
| 57 } | |
| 58 | |
| 59 void Chrome::invalidateContentsForSlowScroll(const IntRect& updateRect) | |
| 60 { | |
| 61 m_client->invalidateContentsForSlowScroll(updateRect); | |
| 62 } | |
| 63 | |
| 64 IntRect Chrome::rootViewToScreen(const IntRect& rect) const | 54 IntRect Chrome::rootViewToScreen(const IntRect& rect) const |
| 65 { | 55 { |
| 66 return m_client->rootViewToScreen(rect); | 56 return m_client->rootViewToScreen(rect); |
| 67 } | 57 } |
| 68 | 58 |
| 69 blink::WebScreenInfo Chrome::screenInfo() const | 59 blink::WebScreenInfo Chrome::screenInfo() const |
| 70 { | 60 { |
| 71 return m_client->screenInfo(); | 61 return m_client->screenInfo(); |
| 72 } | 62 } |
| 73 | 63 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 m_page->animator().setAnimationFramePending(); | 130 m_page->animator().setAnimationFramePending(); |
| 141 m_client->scheduleAnimation(); | 131 m_client->scheduleAnimation(); |
| 142 } | 132 } |
| 143 | 133 |
| 144 void Chrome::willBeDestroyed() | 134 void Chrome::willBeDestroyed() |
| 145 { | 135 { |
| 146 m_client->chromeDestroyed(); | 136 m_client->chromeDestroyed(); |
| 147 } | 137 } |
| 148 | 138 |
| 149 } // namespace blink | 139 } // namespace blink |
| OLD | NEW |