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

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

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class HitTestResult; 55 class HitTestResult;
56 class HTMLFormControlElement; 56 class HTMLFormControlElement;
57 class HTMLInputElement; 57 class HTMLInputElement;
58 class IntRect; 58 class IntRect;
59 class LocalFrame; 59 class LocalFrame;
60 class Node; 60 class Node;
61 class Page; 61 class Page;
62 class PagePopupDriver; 62 class PagePopupDriver;
63 class PopupMenuClient; 63 class PopupMenuClient;
64 64
65 struct CompositedSelectionBound; 65 struct CompositedSelectionBounds;
66 struct DateTimeChooserParameters; 66 struct DateTimeChooserParameters;
67 struct FrameLoadRequest; 67 struct FrameLoadRequest;
68 struct GraphicsDeviceAdapter; 68 struct GraphicsDeviceAdapter;
69 struct ViewportDescription; 69 struct ViewportDescription;
70 struct WindowFeatures; 70 struct WindowFeatures;
71 71
72 class ChromeClient { 72 class ChromeClient {
73 public: 73 public:
74 virtual void chromeDestroyed() = 0; 74 virtual void chromeDestroyed() = 0;
75 75
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 // Pass 0 as the GraphicsLayer to detach the root layer. 181 // Pass 0 as the GraphicsLayer to detach the root layer.
182 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on e. Otherwise 182 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on e. Otherwise
183 // it sets it for the WebViewImpl. 183 // it sets it for the WebViewImpl.
184 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0; 184 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0;
185 185
186 virtual void enterFullScreenForElement(Element*) { } 186 virtual void enterFullScreenForElement(Element*) { }
187 virtual void exitFullScreenForElement(Element*) { } 187 virtual void exitFullScreenForElement(Element*) { }
188 188
189 virtual void clearCompositedSelectionBounds() { } 189 virtual void clearCompositedSelectionBounds() { }
190 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { } 190 virtual void updateCompositedSelectionBounds(const CompositedSelectionBounds &) { }
191 191
192 virtual void needTouchEvents(bool) = 0; 192 virtual void needTouchEvents(bool) = 0;
193 193
194 virtual void setTouchAction(TouchAction) = 0; 194 virtual void setTouchAction(TouchAction) = 0;
195 195
196 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 196 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
197 virtual bool hasOpenedPopup() const = 0; 197 virtual bool hasOpenedPopup() const = 0;
198 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) = 0; 198 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) = 0;
199 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 199 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
200 200
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 235 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
236 236
237 protected: 237 protected:
238 virtual ~ChromeClient() { } 238 virtual ~ChromeClient() { }
239 }; 239 };
240 240
241 } // namespace blink 241 } // namespace blink
242 242
243 #endif // ChromeClient_h 243 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698