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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. 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)
287 virtual void needTouchEvents(bool) = 0; 286 virtual void needTouchEvents(bool) = 0;
288 #endif
289 287
290 virtual bool selectItemWritingDirectionIsNatural() = 0; 288 virtual bool selectItemWritingDirectionIsNatural() = 0;
291 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; 289 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0;
292 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 290 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
293 virtual bool hasOpenedPopup() const = 0; 291 virtual bool hasOpenedPopup() const = 0;
294 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; 292 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0;
295 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const = 0; 293 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const = 0;
296 #if ENABLE(PAGE_POPUP) 294 #if ENABLE(PAGE_POPUP)
297 // Creates a PagePopup object, and shows it beside originBoundsInRootView. 295 // Creates a PagePopup object, and shows it beside originBoundsInRootView.
298 // The return value can be 0. 296 // The return value can be 0.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 354
357 // Notifies the client a popup was closed. 355 // Notifies the client a popup was closed.
358 virtual void popupClosed(PopupContainer* popupContainer) = 0; 356 virtual void popupClosed(PopupContainer* popupContainer) = 0;
359 357
360 protected: 358 protected:
361 virtual ~ChromeClient() { } 359 virtual ~ChromeClient() { }
362 }; 360 };
363 361
364 } 362 }
365 #endif // ChromeClient_h 363 #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