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

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

Issue 474683003: Not for review - Rebase of crrev.com/62833003 Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 1 month 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/EmptyClients.h ('k') | Source/core/rendering/RenderLayer.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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Allows ports to customize the type of graphics layers created by this pag e. 177 // Allows ports to customize the type of graphics layers created by this pag e.
178 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } 178 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; }
179 179
180 // Pass 0 as the GraphicsLayer to detatch the root layer. 180 // Pass 0 as the GraphicsLayer to detatch the root layer.
181 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; 181 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0;
182 182
183 virtual void enterFullScreenForElement(Element*) { } 183 virtual void enterFullScreenForElement(Element*) { }
184 virtual void exitFullScreenForElement(Element*) { } 184 virtual void exitFullScreenForElement(Element*) { }
185 185
186 virtual int compositorId() const = 0;
187
186 virtual void clearCompositedSelectionBounds() { } 188 virtual void clearCompositedSelectionBounds() { }
187 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { } 189 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { }
188 190
189 virtual void needTouchEvents(bool) = 0; 191 virtual void needTouchEvents(bool) = 0;
190 192
191 virtual void setTouchAction(TouchAction) = 0; 193 virtual void setTouchAction(TouchAction) = 0;
192 194
193 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 195 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
194 virtual bool hasOpenedPopup() const = 0; 196 virtual bool hasOpenedPopup() const = 0;
195 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const = 0; 197 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const = 0;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 231 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
230 virtual void showImeIfNeeded() { } 232 virtual void showImeIfNeeded() { }
231 233
232 protected: 234 protected:
233 virtual ~ChromeClient() { } 235 virtual ~ChromeClient() { }
234 }; 236 };
235 237
236 } // namespace blink 238 } // namespace blink
237 239
238 #endif // ChromeClient_h 240 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698