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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 invalidateRect(const IntRect&) override; | 64 virtual void invalidateRect(const IntRect&) override; |
65 virtual IntRect viewportToScreen(const IntRect&) const override; | 65 virtual IntRect viewportToScreen(const IntRect&) const override; |
66 virtual blink::WebScreenInfo screenInfo() const override; | 66 virtual WebScreenInfo screenInfo() const override; |
67 | 67 |
68 virtual void scheduleAnimation() override; | 68 virtual void scheduleAnimation() override; |
69 | 69 |
70 void scheduleAnimationForFrame(LocalFrame* localRoot); | 70 void scheduleAnimationForFrame(LocalFrame* localRoot); |
71 | 71 |
72 void contentsSizeChanged(LocalFrame*, const IntSize&) const; | 72 void contentsSizeChanged(LocalFrame*, const IntSize&) const; |
73 | 73 |
74 void setCursor(const Cursor&); | 74 void setCursor(const Cursor&); |
75 | 75 |
76 void setWindowRect(const IntRect&) const; | 76 void setWindowRect(const IntRect&) const; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 void notifyPopupOpeningObservers() const; | 136 void notifyPopupOpeningObservers() const; |
137 | 137 |
138 Page* m_page; | 138 Page* m_page; |
139 ChromeClient* m_client; | 139 ChromeClient* m_client; |
140 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 140 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
141 }; | 141 }; |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
144 | 144 |
145 #endif // Chrome_h | 145 #endif // Chrome_h |
OLD | NEW |