| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 class Node; | 45 class Node; |
| 46 class Page; | 46 class Page; |
| 47 class PopupMenu; | 47 class PopupMenu; |
| 48 class PopupMenuClient; | 48 class PopupMenuClient; |
| 49 class PopupOpeningObserver; | 49 class PopupOpeningObserver; |
| 50 | 50 |
| 51 struct DateTimeChooserParameters; | 51 struct DateTimeChooserParameters; |
| 52 struct ViewportDescription; | 52 struct ViewportDescription; |
| 53 struct WindowFeatures; | 53 struct WindowFeatures; |
| 54 | 54 |
| 55 class Chrome FINAL : public HostWindow { | 55 class Chrome final : public HostWindow { |
| 56 public: | 56 public: |
| 57 virtual ~Chrome(); | 57 virtual ~Chrome(); |
| 58 | 58 |
| 59 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); | 59 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); |
| 60 | 60 |
| 61 ChromeClient& client() { return *m_client; } | 61 ChromeClient& client() { return *m_client; } |
| 62 | 62 |
| 63 // HostWindow methods. | 63 // HostWindow methods. |
| 64 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; | 64 virtual void invalidateContentsAndRootView(const IntRect&) override; |
| 65 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; | 65 virtual void invalidateContentsForSlowScroll(const IntRect&) override; |
| 66 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; | 66 virtual IntRect rootViewToScreen(const IntRect&) const override; |
| 67 virtual blink::WebScreenInfo screenInfo() const OVERRIDE; | 67 virtual blink::WebScreenInfo screenInfo() const override; |
| 68 | 68 |
| 69 virtual void scheduleAnimation() OVERRIDE; | 69 virtual void scheduleAnimation() override; |
| 70 | 70 |
| 71 void contentsSizeChanged(LocalFrame*, const IntSize&) const; | 71 void contentsSizeChanged(LocalFrame*, const IntSize&) const; |
| 72 | 72 |
| 73 void setCursor(const Cursor&); | 73 void setCursor(const Cursor&); |
| 74 | 74 |
| 75 void setWindowRect(const FloatRect&) const; | 75 void setWindowRect(const FloatRect&) const; |
| 76 FloatRect windowRect() const; | 76 FloatRect windowRect() const; |
| 77 | 77 |
| 78 FloatRect pageRect() const; | 78 FloatRect pageRect() const; |
| 79 | 79 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 void notifyPopupOpeningObservers() const; | 137 void notifyPopupOpeningObservers() const; |
| 138 | 138 |
| 139 Page* m_page; | 139 Page* m_page; |
| 140 ChromeClient* m_client; | 140 ChromeClient* m_client; |
| 141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } | 144 } |
| 145 | 145 |
| 146 #endif // Chrome_h | 146 #endif // Chrome_h |
| OLD | NEW |