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

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

Issue 26450004: Cleanup: Adding more conversion helper interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 virtual bool isSVGImageChromeClient() const { return false; } 255 virtual bool isSVGImageChromeClient() const { return false; }
256 256
257 virtual bool requestPointerLock() { return false; } 257 virtual bool requestPointerLock() { return false; }
258 virtual void requestPointerUnlock() { } 258 virtual void requestPointerUnlock() { }
259 virtual bool isPointerLocked() { return false; } 259 virtual bool isPointerLocked() { return false; }
260 260
261 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; 261 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); };
262 262
263 virtual bool isEmptyChromeClient() const { return false; } 263 virtual bool isEmptyChromeClient() const { return false; }
264 virtual bool isChromeClient() const { return false; }
tkent 2013/10/08 22:22:39 Ditto. The function name is confusing. Wrap with "
264 265
265 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; 266 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { };
266 267
267 // Notifies the client of a new popup widget. The client should place 268 // Notifies the client of a new popup widget. The client should place
268 // and size the widget with the given bounds, relative to the screen. 269 // and size the widget with the given bounds, relative to the screen.
269 // If handleExternal is true, then drawing and input handling for the 270 // If handleExternal is true, then drawing and input handling for the
270 // popup will be handled by the external embedder. 271 // popup will be handled by the external embedder.
271 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, 272 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds,
272 bool handleExternal) = 0; 273 bool handleExternal) = 0;
273 274
274 // Notifies the client a popup was closed. 275 // Notifies the client a popup was closed.
275 virtual void popupClosed(PopupContainer* popupContainer) = 0; 276 virtual void popupClosed(PopupContainer* popupContainer) = 0;
276 277
277 protected: 278 protected:
278 virtual ~ChromeClient() { } 279 virtual ~ChromeClient() { }
279 }; 280 };
280 281
281 } 282 }
282 #endif // ChromeClient_h 283 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698