18e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project/* 20bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 48e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 58e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Redistribution and use in source and binary forms, with or without 68e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * modification, are permitted provided that the following conditions 78e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * are met: 88e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 1. Redistributions of source code must retain the above copyright 98e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * notice, this list of conditions and the following disclaimer. 108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 2. Redistributions in binary form must reproduce the above copyright 118e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * notice, this list of conditions and the following disclaimer in the 128e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * documentation and/or other materials provided with the distribution. 138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 148e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 188e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 198e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 208e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 228e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 238e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 248e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 258e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project */ 268e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 278e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <WebCore/ChromeClient.h> 288e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <WebCore/COMPtr.h> 298e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <WebCore/GraphicsContext.h> 308e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <WebCore/FocusDirection.h> 318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <WebCore/ScrollTypes.h> 328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#include <wtf/Forward.h> 33231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#include <wtf/PassRefPtr.h> 348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectclass WebView; 36231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Blockclass WebDesktopNotificationsDelegate; 378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectinterface IWebUIDelegate; 398e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectclass WebChromeClient : public WebCore::ChromeClient { 418e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectpublic: 428e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project WebChromeClient(WebView*); 438e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 448e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void chromeDestroyed(); 458e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 4654cdeeebc7adcbcd900e8b6a141a8cae27d9a631Steve Block virtual void* webView() const { return 0; } 478e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setWindowRect(const WebCore::FloatRect&); 488e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual WebCore::FloatRect windowRect(); 498e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 508e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual WebCore::FloatRect pageRect(); 518e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 528e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual float scaleFactor(); 538e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 548e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void focus(); 558e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void unfocus(); 568e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 578e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool canTakeFocus(WebCore::FocusDirection); 588e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void takeFocus(WebCore::FocusDirection); 598e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 60643ca7872b450ea4efacab6188849e5aac2ba161Steve Block virtual void focusedNodeChanged(WebCore::Node*); 6128040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu virtual void focusedFrameChanged(WebCore::Frame*); 62643ca7872b450ea4efacab6188849e5aac2ba161Steve Block 63e14391e94c850b8bd03680c23b38978db68687a8John Reck virtual WebCore::Page* createWindow(WebCore::Frame*, const WebCore::FrameLoadRequest&, const WebCore::WindowFeatures&, const WebCore::NavigationAction&); 648e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void show(); 658e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 668e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool canRunModal(); 678e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void runModal(); 688e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 698e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setToolbarsVisible(bool); 708e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool toolbarsVisible(); 718e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 728e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setStatusbarVisible(bool); 738e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool statusbarVisible(); 748e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 758e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setScrollbarsVisible(bool); 768e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool scrollbarsVisible(); 778e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 788e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setMenubarVisible(bool); 798e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool menubarVisible(); 808e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 818e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void setResizable(bool); 828e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 83dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void addMessageToConsole(WebCore::MessageSource source, WebCore::MessageType type, WebCore::MessageLevel level, const WTF::String& message, unsigned line, const WTF::String& url); 848e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 858e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool canRunBeforeUnloadConfirmPanel(); 86dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual bool runBeforeUnloadConfirmPanel(const WTF::String& message, WebCore::Frame* frame); 878e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 888e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void closeWindowSoon(); 898e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 90dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void runJavaScriptAlert(WebCore::Frame*, const WTF::String&); 91dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual bool runJavaScriptConfirm(WebCore::Frame*, const WTF::String&); 92dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual bool runJavaScriptPrompt(WebCore::Frame*, const WTF::String& message, const WTF::String& defaultValue, WTF::String& result); 93dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void setStatusbarText(const WTF::String&); 948e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool shouldInterruptJavaScript(); 958e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 9681bc750723a18f21cd17d1b173cd2a4dda9cea6eBen Murdoch virtual WebCore::KeyboardUIMode keyboardUIMode(); 978e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual WebCore::IntRect windowResizerRect() const; 988e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 99dcc8cf2e65d1aa555cce12431a16547e66b469eeSteve Block virtual void invalidateWindow(const WebCore::IntRect&, bool); 100dcc8cf2e65d1aa555cce12431a16547e66b469eeSteve Block virtual void invalidateContentsAndWindow(const WebCore::IntRect&, bool); 101dcc8cf2e65d1aa555cce12431a16547e66b469eeSteve Block virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&, bool); 1028e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void scroll(const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScroll, const WebCore::IntRect& clipRect); 103dcc8cf2e65d1aa555cce12431a16547e66b469eeSteve Block 1048e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual WebCore::IntPoint screenToWindow(const WebCore::IntPoint& p) const; 1058e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual WebCore::IntRect windowToScreen(const WebCore::IntRect& r) const; 106231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block virtual PlatformPageClient platformPageClient() const; 107635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project virtual void contentsSizeChanged(WebCore::Frame*, const WebCore::IntSize&) const; 1088e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 109231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block virtual void scrollbarsModeDidChange() const { } 1108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void mouseDidMoveOverElement(const WebCore::HitTestResult&, unsigned modifierFlags); 111e458d70a0d18538346f41b503114c9ebe6b2ce12Leon Clarke virtual bool shouldMissingPluginMessageBeButton() const; 112ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Block virtual void missingPluginButtonClicked(WebCore::Element*) const; 1138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 114dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void setToolTip(const WTF::String&, WebCore::TextDirection); 1158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 1168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void print(WebCore::Frame*); 1178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 1188ccf722629b08f2a06b2cadbdc3d0c9dc885e25dBen Murdoch#if ENABLE(DATABASE) 119dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void exceededDatabaseQuota(WebCore::Frame*, const WTF::String&); 1208ccf722629b08f2a06b2cadbdc3d0c9dc885e25dBen Murdoch#endif 1218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 122c60802dd50f86c37e0596d41c3ef6fc2c8804da4Andrei Popescu#if ENABLE(OFFLINE_WEB_APPLICATIONS) 123c60802dd50f86c37e0596d41c3ef6fc2c8804da4Andrei Popescu virtual void reachedMaxAppCacheSize(int64_t spaceNeeded); 124db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*); 125c60802dd50f86c37e0596d41c3ef6fc2c8804da4Andrei Popescu#endif 126c60802dd50f86c37e0596d41c3ef6fc2c8804da4Andrei Popescu 12728040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu#if ENABLE(CONTEXT_MENUS) 12828040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu virtual void showContextMenu() { } 12928040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu#endif 13028040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu 1318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void populateVisitedLinks(); 1328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 1338e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool paintCustomScrollbar(WebCore::GraphicsContext*, const WebCore::FloatRect&, WebCore::ScrollbarControlSize, 1348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project WebCore::ScrollbarControlState, WebCore::ScrollbarPart pressedPart, bool vertical, 1358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project float value, float proportion, WebCore::ScrollbarControlPartMask); 1368e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual bool paintCustomScrollCorner(WebCore::GraphicsContext*, const WebCore::FloatRect&); 1378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 1388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>); 139dd8bb3de4f353a81954234999f1fea748aee2ea9Ben Murdoch virtual void chooseIconForFiles(const Vector<WTF::String>&, WebCore::FileChooser*); 1408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 141967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch virtual void setCursor(const WebCore::Cursor&); 142967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch virtual void setLastSetCursorToCurrentCursor(); 1430bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 1448e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project WebView* webView() const { return m_webView; } 1458e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 146635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project virtual void formStateDidChange(const WebCore::Node*) { } 147635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project 148643ca7872b450ea4efacab6188849e5aac2ba161Steve Block#if USE(ACCELERATED_COMPOSITING) 149643ca7872b450ea4efacab6188849e5aac2ba161Steve Block // Pass 0 as the GraphicsLayer to detatch the root layer. 150643ca7872b450ea4efacab6188849e5aac2ba161Steve Block virtual void attachRootGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer*); 151643ca7872b450ea4efacab6188849e5aac2ba161Steve Block // Sets a flag to specify that the next time content is drawn to the window, 152643ca7872b450ea4efacab6188849e5aac2ba161Steve Block // the changes appear on the screen in synchrony with updates to GraphicsLayers. 153643ca7872b450ea4efacab6188849e5aac2ba161Steve Block virtual void setNeedsOneShotDrawingSynchronization() { } 154643ca7872b450ea4efacab6188849e5aac2ba161Steve Block // Sets a flag to specify that the view needs to be updated, so we need 155643ca7872b450ea4efacab6188849e5aac2ba161Steve Block // to do an eager layout before the drawing. 156643ca7872b450ea4efacab6188849e5aac2ba161Steve Block virtual void scheduleCompositingLayerSync(); 157643ca7872b450ea4efacab6188849e5aac2ba161Steve Block#endif 158643ca7872b450ea4efacab6188849e5aac2ba161Steve Block 1590bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch virtual void scrollRectIntoView(const WebCore::IntRect&, const WebCore::ScrollView*) const {} 1600bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 161f05b935882198ccf7d81675736e3aeb089c5113aBen Murdoch // FIXME: Remove once all ports are using client-based geolocation. https://bugs.webkit.org/show_bug.cgi?id=40373 162f05b935882198ccf7d81675736e3aeb089c5113aBen Murdoch // For client-based geolocation, these two methods have been moved to WebGeolocationClient. https://bugs.webkit.org/show_bug.cgi?id=50061 163f05b935882198ccf7d81675736e3aeb089c5113aBen Murdoch virtual void requestGeolocationPermissionForFrame(WebCore::Frame*, WebCore::Geolocation*) { } 164dcc8cf2e65d1aa555cce12431a16547e66b469eeSteve Block virtual void cancelGeolocationPermissionRequestForFrame(WebCore::Frame*, WebCore::Geolocation*) { } 1650bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 166d0825bca7fe65beaee391d30da42e937db621564Steve Block#if ENABLE(VIDEO) 167d0825bca7fe65beaee391d30da42e937db621564Steve Block virtual bool supportsFullscreenForNode(const WebCore::Node*); 168d0825bca7fe65beaee391d30da42e937db621564Steve Block virtual void enterFullscreenForNode(WebCore::Node*); 169d0825bca7fe65beaee391d30da42e937db621564Steve Block virtual void exitFullscreenForNode(WebCore::Node*); 170d0825bca7fe65beaee391d30da42e937db621564Steve Block#endif 171d0825bca7fe65beaee391d30da42e937db621564Steve Block 172231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#if ENABLE(NOTIFICATIONS) 173231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block virtual WebCore::NotificationPresenter* notificationPresenter() const { return reinterpret_cast<WebCore::NotificationPresenter*>(m_notificationsDelegate.get()); } 174231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#endif 175231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block 176db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block virtual bool selectItemWritingDirectionIsNatural(); 1772fc2651226baac27029e38c9d6ef883fa32084dbSteve Block virtual bool selectItemAlignmentFollowsMenuWritingDirection(); 178db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuClient*) const; 179db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore::PopupMenuClient*) const; 180db14019a23d96bc8a444b6576a5da8bd1cfbc8b0Steve Block 1818e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectprivate: 1828e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project COMPtr<IWebUIDelegate> uiDelegate(); 1838e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project 1848e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project WebView* m_webView; 185231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block 186231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#if ENABLE(NOTIFICATIONS) 187231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block OwnPtr<WebDesktopNotificationsDelegate> m_notificationsDelegate; 188231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#endif 1898e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}; 190