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

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

Issue 428633004: Webkit setting for embedders that do not support fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Asychronous request to enumerate all files in a directory chosen by the u ser. 177 // Asychronous request to enumerate all files in a directory chosen by the u ser.
178 virtual void enumerateChosenDirectory(FileChooser*) = 0; 178 virtual void enumerateChosenDirectory(FileChooser*) = 0;
179 179
180 // Allows ports to customize the type of graphics layers created by this pag e. 180 // Allows ports to customize the type of graphics layers created by this pag e.
181 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } 181 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; }
182 182
183 // Pass 0 as the GraphicsLayer to detatch the root layer. 183 // Pass 0 as the GraphicsLayer to detatch the root layer.
184 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; 184 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0;
185 185
186 virtual bool fullscreenEnabled(Element*) = 0;
186 virtual void enterFullScreenForElement(Element*) { } 187 virtual void enterFullScreenForElement(Element*) { }
187 virtual void exitFullScreenForElement(Element*) { } 188 virtual void exitFullScreenForElement(Element*) { }
188 189
189 virtual void clearCompositedSelectionBounds() { } 190 virtual void clearCompositedSelectionBounds() { }
190 191
191 virtual void needTouchEvents(bool) = 0; 192 virtual void needTouchEvents(bool) = 0;
192 193
193 virtual void setTouchAction(TouchAction) = 0; 194 virtual void setTouchAction(TouchAction) = 0;
194 195
195 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 196 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 virtual void willSetInputMethodState() { } 234 virtual void willSetInputMethodState() { }
234 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
235 virtual void showImeIfNeeded() { } 236 virtual void showImeIfNeeded() { }
236 237
237 protected: 238 protected:
238 virtual ~ChromeClient() { } 239 virtual ~ChromeClient() { }
239 }; 240 };
240 241
241 } 242 }
242 #endif // ChromeClient_h 243 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698