OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 WebViewImpl* m_webView; // weak pointer | 205 WebViewImpl* m_webView; // weak pointer |
206 bool m_toolbarsVisible; | 206 bool m_toolbarsVisible; |
207 bool m_statusbarVisible; | 207 bool m_statusbarVisible; |
208 bool m_scrollbarsVisible; | 208 bool m_scrollbarsVisible; |
209 bool m_menubarVisible; | 209 bool m_menubarVisible; |
210 bool m_resizable; | 210 bool m_resizable; |
211 | 211 |
212 WebCore::PagePopupDriver* m_pagePopupDriver; | 212 WebCore::PagePopupDriver* m_pagePopupDriver; |
213 }; | 213 }; |
214 | 214 |
215 #if ENABLE(NAVIGATOR_CONTENT_UTILS) | |
216 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli
ent { | 215 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli
ent { |
217 public: | 216 public: |
218 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); | 217 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); |
219 ~NavigatorContentUtilsClientImpl() { } | 218 ~NavigatorContentUtilsClientImpl() { } |
220 | 219 |
221 virtual void registerProtocolHandler(const String& scheme, const String& bas
eURL, const String& url, const String& title) OVERRIDE; | 220 virtual void registerProtocolHandler(const String& scheme, const String& bas
eURL, const String& url, const String& title) OVERRIDE; |
222 | 221 |
223 private: | 222 private: |
224 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); | 223 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); |
225 | 224 |
226 WebViewImpl* m_webView; | 225 WebViewImpl* m_webView; |
227 }; | 226 }; |
228 #endif | |
229 | 227 |
230 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr
omeClientImpl(), client.isChromeClientImpl()); | 228 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr
omeClientImpl(), client.isChromeClientImpl()); |
231 | 229 |
232 } // namespace blink | 230 } // namespace blink |
233 | 231 |
234 #endif | 232 #endif |
OLD | NEW |