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 * | 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 25 matching lines...) Expand all Loading... |
36 class WebDesktopNotificationsDelegate; | 36 class WebDesktopNotificationsDelegate; |
37 | 37 |
38 interface IWebUIDelegate; | 38 interface IWebUIDelegate; |
39 | 39 |
40 class WebChromeClient : public WebCore::ChromeClient { | 40 class WebChromeClient : public WebCore::ChromeClient { |
41 public: | 41 public: |
42 WebChromeClient(WebView*); | 42 WebChromeClient(WebView*); |
43 | 43 |
44 virtual void chromeDestroyed(); | 44 virtual void chromeDestroyed(); |
45 | 45 |
| 46 virtual void* webView() const { return 0; } |
46 virtual void setWindowRect(const WebCore::FloatRect&); | 47 virtual void setWindowRect(const WebCore::FloatRect&); |
47 virtual WebCore::FloatRect windowRect(); | 48 virtual WebCore::FloatRect windowRect(); |
48 | 49 |
49 virtual WebCore::FloatRect pageRect(); | 50 virtual WebCore::FloatRect pageRect(); |
50 | 51 |
51 virtual float scaleFactor(); | 52 virtual float scaleFactor(); |
52 | 53 |
53 virtual void focus(); | 54 virtual void focus(); |
54 virtual void unfocus(); | 55 virtual void unfocus(); |
55 | 56 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 180 |
180 private: | 181 private: |
181 COMPtr<IWebUIDelegate> uiDelegate(); | 182 COMPtr<IWebUIDelegate> uiDelegate(); |
182 | 183 |
183 WebView* m_webView; | 184 WebView* m_webView; |
184 | 185 |
185 #if ENABLE(NOTIFICATIONS) | 186 #if ENABLE(NOTIFICATIONS) |
186 OwnPtr<WebDesktopNotificationsDelegate> m_notificationsDelegate; | 187 OwnPtr<WebDesktopNotificationsDelegate> m_notificationsDelegate; |
187 #endif | 188 #endif |
188 }; | 189 }; |
OLD | NEW |