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

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

Issue 642203002: Make input event forwarding work in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 PagePopup; 63 class PagePopup;
64 class PagePopupClient; 64 class PagePopupClient;
65 class PagePopupDriver; 65 class PagePopupDriver;
66 class PopupMenuClient; 66 class PopupMenuClient;
67 class RemoteFrame;
67 68
68 struct CompositedSelectionBound; 69 struct CompositedSelectionBound;
69 struct DateTimeChooserParameters; 70 struct DateTimeChooserParameters;
70 struct FrameLoadRequest; 71 struct FrameLoadRequest;
71 struct GraphicsDeviceAdapter; 72 struct GraphicsDeviceAdapter;
72 struct ViewportDescription; 73 struct ViewportDescription;
73 struct WindowFeatures; 74 struct WindowFeatures;
74 75
75 class ChromeClient { 76 class ChromeClient {
76 public: 77 public:
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 221
221 virtual bool isChromeClientImpl() const { return false; } 222 virtual bool isChromeClientImpl() const { return false; }
222 223
223 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { }; 224 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { };
224 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } 225 virtual void didChangeValueInTextField(HTMLFormControlElement&) { }
225 virtual void didEndEditingOnTextField(HTMLInputElement&) { } 226 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
226 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { } 227 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
227 228
228 // FIXME: Remove this method once we have input routing in the browser 229 // FIXME: Remove this method once we have input routing in the browser
229 // process. See http://crbug.com/339659. 230 // process. See http://crbug.com/339659.
230 virtual void forwardInputEvent(blink::Frame*, blink::Event*) { } 231 virtual void forwardInputEvent(blink::RemoteFrame*, blink::Event*) { }
dcheng 2014/10/10 20:18:51 Nit: let's remove blink:: while we're changing the
Charlie Reis 2014/10/10 20:25:24 Done.
231 232
232 // Input mehtod editor related functions. 233 // Input mehtod editor related functions.
233 virtual void didCancelCompositionOnSelectionChange() { } 234 virtual void didCancelCompositionOnSelectionChange() { }
234 virtual void willSetInputMethodState() { } 235 virtual void willSetInputMethodState() { }
235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 236 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
236 virtual void showImeIfNeeded() { } 237 virtual void showImeIfNeeded() { }
237 238
238 protected: 239 protected:
239 virtual ~ChromeClient() { } 240 virtual ~ChromeClient() { }
240 }; 241 };
241 242
242 } 243 }
243 #endif // ChromeClient_h 244 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698