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

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

Issue 72543005: Get rid of explict editor dependency from text field (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-11-18T17:22:32 Created 7 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/page/EditorClient.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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 virtual bool requestPointerLock() { return false; } 254 virtual bool requestPointerLock() { return false; }
255 virtual void requestPointerUnlock() { } 255 virtual void requestPointerUnlock() { }
256 virtual bool isPointerLocked() { return false; } 256 virtual bool isPointerLocked() { return false; }
257 257
258 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; 258 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); };
259 259
260 virtual bool isEmptyChromeClient() const { return false; } 260 virtual bool isEmptyChromeClient() const { return false; }
261 virtual bool isChromeClientImpl() const { return false; } 261 virtual bool isChromeClientImpl() const { return false; }
262 262
263 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; 263 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { };
264 virtual void didChangeValueInTextField(HTMLInputElement&) { }
265 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
266 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
264 267
265 // Input mehtod editor related functions. 268 // Input mehtod editor related functions.
266 virtual void didCancelCompositionOnSelectionChange() { } 269 virtual void didCancelCompositionOnSelectionChange() { }
267 virtual void willSetInputMethodState() { } 270 virtual void willSetInputMethodState() { }
268 271
269 // Notifies the client of a new popup widget. The client should place 272 // Notifies the client of a new popup widget. The client should place
270 // and size the widget with the given bounds, relative to the screen. 273 // and size the widget with the given bounds, relative to the screen.
271 // If handleExternal is true, then drawing and input handling for the 274 // If handleExternal is true, then drawing and input handling for the
272 // popup will be handled by the external embedder. 275 // popup will be handled by the external embedder.
273 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, 276 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds,
274 bool handleExternal) = 0; 277 bool handleExternal) = 0;
275 278
276 // Notifies the client a popup was closed. 279 // Notifies the client a popup was closed.
277 virtual void popupClosed(PopupContainer* popupContainer) = 0; 280 virtual void popupClosed(PopupContainer* popupContainer) = 0;
278 281
279 protected: 282 protected:
280 virtual ~ChromeClient() { } 283 virtual ~ChromeClient() { }
281 }; 284 };
282 285
283 } 286 }
284 #endif // ChromeClient_h 287 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/EditorClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698