| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 public: | 57 public: |
| 58 virtual ~Chrome(); | 58 virtual ~Chrome(); |
| 59 | 59 |
| 60 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); | 60 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); |
| 61 | 61 |
| 62 ChromeClient& client() { return *m_client; } | 62 ChromeClient& client() { return *m_client; } |
| 63 | 63 |
| 64 // HostWindow methods. | 64 // HostWindow methods. |
| 65 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; | 65 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; |
| 66 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; | 66 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; |
| 67 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE
; | 67 virtual void scroll(const IntRect&) OVERRIDE; |
| 68 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; | 68 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; |
| 69 virtual blink::WebScreenInfo screenInfo() const OVERRIDE; | 69 virtual blink::WebScreenInfo screenInfo() const OVERRIDE; |
| 70 | 70 |
| 71 virtual void scheduleAnimation() OVERRIDE; | 71 virtual void scheduleAnimation() OVERRIDE; |
| 72 | 72 |
| 73 void contentsSizeChanged(LocalFrame*, const IntSize&) const; | 73 void contentsSizeChanged(LocalFrame*, const IntSize&) const; |
| 74 | 74 |
| 75 void setCursor(const Cursor&); | 75 void setCursor(const Cursor&); |
| 76 | 76 |
| 77 void setWindowRect(const FloatRect&) const; | 77 void setWindowRect(const FloatRect&) const; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 void notifyPopupOpeningObservers() const; | 139 void notifyPopupOpeningObservers() const; |
| 140 | 140 |
| 141 Page* m_page; | 141 Page* m_page; |
| 142 ChromeClient* m_client; | 142 ChromeClient* m_client; |
| 143 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 143 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } | 146 } |
| 147 | 147 |
| 148 #endif // Chrome_h | 148 #endif // Chrome_h |
| OLD | NEW |