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

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

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/DOMWindow.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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 virtual void enterFullscreenForNode(Node*) { } 276 virtual void enterFullscreenForNode(Node*) { }
277 virtual void exitFullscreenForNode(Node*) { } 277 virtual void exitFullscreenForNode(Node*) { }
278 virtual bool requiresFullscreenForVideoPlayback() { return false; } 278 virtual bool requiresFullscreenForVideoPlayback() { return false; }
279 279
280 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal se; } 280 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal se; }
281 virtual void enterFullScreenForElement(Element*) { } 281 virtual void enterFullScreenForElement(Element*) { }
282 virtual void exitFullScreenForElement(Element*) { } 282 virtual void exitFullScreenForElement(Element*) { }
283 virtual void fullScreenRendererChanged(RenderBox*) { } 283 virtual void fullScreenRendererChanged(RenderBox*) { }
284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } 284 virtual void setRootFullScreenLayer(GraphicsLayer*) { }
285 285
286 #if ENABLE(TOUCH_EVENTS)
286 virtual void needTouchEvents(bool) = 0; 287 virtual void needTouchEvents(bool) = 0;
288 #endif
287 289
288 virtual bool selectItemWritingDirectionIsNatural() = 0; 290 virtual bool selectItemWritingDirectionIsNatural() = 0;
289 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; 291 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0;
290 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 292 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
291 virtual bool hasOpenedPopup() const = 0; 293 virtual bool hasOpenedPopup() const = 0;
292 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; 294 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0;
293 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const = 0; 295 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const = 0;
294 #if ENABLE(PAGE_POPUP) 296 #if ENABLE(PAGE_POPUP)
295 // Creates a PagePopup object, and shows it beside originBoundsInRootView. 297 // Creates a PagePopup object, and shows it beside originBoundsInRootView.
296 // The return value can be 0. 298 // The return value can be 0.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 356
355 // Notifies the client a popup was closed. 357 // Notifies the client a popup was closed.
356 virtual void popupClosed(PopupContainer* popupContainer) = 0; 358 virtual void popupClosed(PopupContainer* popupContainer) = 0;
357 359
358 protected: 360 protected:
359 virtual ~ChromeClient() { } 361 virtual ~ChromeClient() { }
360 }; 362 };
361 363
362 } 364 }
363 #endif // ChromeClient_h 365 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698