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

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

Issue 642823006: Move forwardInputEvent to RemoteFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix review comments Created 6 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
« no previous file with comments | « Source/core/html/HTMLFrameElementBase.cpp ('k') | Source/web/ChromeClientImpl.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class GraphicsLayerFactory; 55 class GraphicsLayerFactory;
56 class HitTestResult; 56 class HitTestResult;
57 class HTMLFormControlElement; 57 class HTMLFormControlElement;
58 class HTMLInputElement; 58 class HTMLInputElement;
59 class IntRect; 59 class IntRect;
60 class LocalFrame; 60 class LocalFrame;
61 class Node; 61 class Node;
62 class Page; 62 class Page;
63 class PagePopupDriver; 63 class PagePopupDriver;
64 class PopupMenuClient; 64 class PopupMenuClient;
65 class RemoteFrame;
66 65
67 struct CompositedSelectionBound; 66 struct CompositedSelectionBound;
68 struct DateTimeChooserParameters; 67 struct DateTimeChooserParameters;
69 struct FrameLoadRequest; 68 struct FrameLoadRequest;
70 struct GraphicsDeviceAdapter; 69 struct GraphicsDeviceAdapter;
71 struct ViewportDescription; 70 struct ViewportDescription;
72 struct WindowFeatures; 71 struct WindowFeatures;
73 72
74 class ChromeClient { 73 class ChromeClient {
75 public: 74 public:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 216
218 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; 217 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); };
219 218
220 virtual bool isChromeClientImpl() const { return false; } 219 virtual bool isChromeClientImpl() const { return false; }
221 220
222 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { }; 221 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { };
223 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } 222 virtual void didChangeValueInTextField(HTMLFormControlElement&) { }
224 virtual void didEndEditingOnTextField(HTMLInputElement&) { } 223 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
225 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { } 224 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
226 225
227 // FIXME: Remove this method once we have input routing in the browser
228 // process. See http://crbug.com/339659.
229 virtual void forwardInputEvent(RemoteFrame*, Event*) { }
230
231 // Input mehtod editor related functions. 226 // Input mehtod editor related functions.
232 virtual void didCancelCompositionOnSelectionChange() { } 227 virtual void didCancelCompositionOnSelectionChange() { }
233 virtual void willSetInputMethodState() { } 228 virtual void willSetInputMethodState() { }
234 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 229 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
235 virtual void showImeIfNeeded() { } 230 virtual void showImeIfNeeded() { }
236 231
237 protected: 232 protected:
238 virtual ~ChromeClient() { } 233 virtual ~ChromeClient() { }
239 }; 234 };
240 235
241 } // namespace blink 236 } // namespace blink
242 237
243 #endif // ChromeClient_h 238 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameElementBase.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698