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

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: TODO for moving WebSelectionBound Created 5 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 class WebCompositorAnimationTimeline; 64 class WebCompositorAnimationTimeline;
65 65
66 struct CompositedSelectionBound; 66 struct CompositedSelection;
67 struct DateTimeChooserParameters; 67 struct DateTimeChooserParameters;
68 struct FrameLoadRequest; 68 struct FrameLoadRequest;
69 struct GraphicsDeviceAdapter; 69 struct GraphicsDeviceAdapter;
70 struct ViewportDescription; 70 struct ViewportDescription;
71 struct WindowFeatures; 71 struct WindowFeatures;
72 72
73 class ChromeClient { 73 class ChromeClient {
74 public: 74 public:
75 virtual void chromeDestroyed() = 0; 75 virtual void chromeDestroyed() = 0;
76 76
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on e. Otherwise 180 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on e. Otherwise
181 // it sets it for the WebViewImpl. 181 // it sets it for the WebViewImpl.
182 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0; 182 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0;
183 183
184 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 184 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
185 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 185 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
186 186
187 virtual void enterFullScreenForElement(Element*) { } 187 virtual void enterFullScreenForElement(Element*) { }
188 virtual void exitFullScreenForElement(Element*) { } 188 virtual void exitFullScreenForElement(Element*) { }
189 189
190 virtual void clearCompositedSelectionBounds() { } 190 virtual void clearCompositedSelection() { }
191 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { } 191 virtual void updateCompositedSelection(const CompositedSelection&) { }
192 192
193 virtual void needTouchEvents(bool) = 0; 193 virtual void needTouchEvents(bool) = 0;
194 194
195 virtual void setTouchAction(TouchAction) = 0; 195 virtual void setTouchAction(TouchAction) = 0;
196 196
197 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 197 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
198 virtual bool hasOpenedPopup() const = 0; 198 virtual bool hasOpenedPopup() const = 0;
199 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) = 0; 199 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) = 0;
200 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 200 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
201 201
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 virtual void didUpdateTopControls() const { } 239 virtual void didUpdateTopControls() const { }
240 240
241 protected: 241 protected:
242 virtual ~ChromeClient() { } 242 virtual ~ChromeClient() { }
243 }; 243 };
244 244
245 } // namespace blink 245 } // namespace blink
246 246
247 #endif // ChromeClient_h 247 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/layout/compositing/CompositedSelectionBound.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698