| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 public: | 40 public: |
| 41 WebChromeClient(WebPage* page) | 41 WebChromeClient(WebPage* page) |
| 42 : m_cachedMainFrameHasHorizontalScrollbar(false) | 42 : m_cachedMainFrameHasHorizontalScrollbar(false) |
| 43 , m_cachedMainFrameHasVerticalScrollbar(false) | 43 , m_cachedMainFrameHasVerticalScrollbar(false) |
| 44 , m_page(page) | 44 , m_page(page) |
| 45 { | 45 { |
| 46 } | 46 } |
| 47 | 47 |
| 48 WebPage* page() const { return m_page; } | 48 WebPage* page() const { return m_page; } |
| 49 | 49 |
| 50 virtual void* webView() const { return 0; } |
| 51 |
| 50 private: | 52 private: |
| 51 virtual void chromeDestroyed(); | 53 virtual void chromeDestroyed(); |
| 52 | 54 |
| 53 virtual void setWindowRect(const WebCore::FloatRect&); | 55 virtual void setWindowRect(const WebCore::FloatRect&); |
| 54 virtual WebCore::FloatRect windowRect(); | 56 virtual WebCore::FloatRect windowRect(); |
| 55 | 57 |
| 56 virtual WebCore::FloatRect pageRect(); | 58 virtual WebCore::FloatRect pageRect(); |
| 57 | 59 |
| 58 virtual float scaleFactor(); | 60 virtual float scaleFactor(); |
| 59 | 61 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame; | 222 mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame; |
| 221 mutable bool m_cachedMainFrameHasHorizontalScrollbar; | 223 mutable bool m_cachedMainFrameHasHorizontalScrollbar; |
| 222 mutable bool m_cachedMainFrameHasVerticalScrollbar; | 224 mutable bool m_cachedMainFrameHasVerticalScrollbar; |
| 223 | 225 |
| 224 WebPage* m_page; | 226 WebPage* m_page; |
| 225 }; | 227 }; |
| 226 | 228 |
| 227 } // namespace WebKit | 229 } // namespace WebKit |
| 228 | 230 |
| 229 #endif // WebChromeClient_h | 231 #endif // WebChromeClient_h |
| OLD | NEW |