Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 14735003: Remove compile time flag ENABLE_PAGE_POPUP . This is part of an overall effort to remove unneeded c… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/DOMWindowPagePopup.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return static_cast<CompositingTriggerFlags>(AllTriggers); } 232 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return static_cast<CompositingTriggerFlags>(AllTriggers); }
233 233
234 virtual void enterFullScreenForElement(Element*) { } 234 virtual void enterFullScreenForElement(Element*) { }
235 virtual void exitFullScreenForElement(Element*) { } 235 virtual void exitFullScreenForElement(Element*) { }
236 236
237 virtual void needTouchEvents(bool) = 0; 237 virtual void needTouchEvents(bool) = 0;
238 238
239 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 239 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
240 virtual bool hasOpenedPopup() const = 0; 240 virtual bool hasOpenedPopup() const = 0;
241 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; 241 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0;
242 #if ENABLE(PAGE_POPUP)
243 // Creates a PagePopup object, and shows it beside originBoundsInRootView. 242 // Creates a PagePopup object, and shows it beside originBoundsInRootView.
244 // The return value can be 0. 243 // The return value can be 0.
245 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) = 0; 244 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) = 0;
246 virtual void closePagePopup(PagePopup*) = 0; 245 virtual void closePagePopup(PagePopup*) = 0;
247 // For testing. 246 // For testing.
248 virtual void setPagePopupDriver(PagePopupDriver*) = 0; 247 virtual void setPagePopupDriver(PagePopupDriver*) = 0;
249 virtual void resetPagePopupDriver() = 0; 248 virtual void resetPagePopupDriver() = 0;
250 #endif
251 // This function is called whenever a text field <input> is created. The 249 // This function is called whenever a text field <input> is created. The
252 // implementation should return true if it wants to do something in 250 // implementation should return true if it wants to do something in
253 // addTextFieldDecorationsTo(). 251 // addTextFieldDecorationsTo().
254 // The argument is always non-0. 252 // The argument is always non-0.
255 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false ; } 253 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false ; }
256 // The argument is always non-0. 254 // The argument is always non-0.
257 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } 255 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { }
258 256
259 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac he::AXNotification) { } 257 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac he::AXNotification) { }
260 258
(...skipping 28 matching lines...) Expand all
289 287
290 // Notifies the client a popup was closed. 288 // Notifies the client a popup was closed.
291 virtual void popupClosed(PopupContainer* popupContainer) = 0; 289 virtual void popupClosed(PopupContainer* popupContainer) = 0;
292 290
293 protected: 291 protected:
294 virtual ~ChromeClient() { } 292 virtual ~ChromeClient() { }
295 }; 293 };
296 294
297 } 295 }
298 #endif // ChromeClient_h 296 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/DOMWindowPagePopup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698