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

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: Fix merge conflict. 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 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;
65 66
66 struct CompositedSelectionBound; 67 struct CompositedSelectionBound;
67 struct DateTimeChooserParameters; 68 struct DateTimeChooserParameters;
68 struct FrameLoadRequest; 69 struct FrameLoadRequest;
69 struct GraphicsDeviceAdapter; 70 struct GraphicsDeviceAdapter;
70 struct ViewportDescription; 71 struct ViewportDescription;
71 struct WindowFeatures; 72 struct WindowFeatures;
72 73
73 class ChromeClient { 74 class ChromeClient {
74 public: 75 public:
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 219
219 virtual bool isChromeClientImpl() const { return false; } 220 virtual bool isChromeClientImpl() const { return false; }
220 221
221 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { }; 222 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) { };
222 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } 223 virtual void didChangeValueInTextField(HTMLFormControlElement&) { }
223 virtual void didEndEditingOnTextField(HTMLInputElement&) { } 224 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
224 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { } 225 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
225 226
226 // FIXME: Remove this method once we have input routing in the browser 227 // FIXME: Remove this method once we have input routing in the browser
227 // process. See http://crbug.com/339659. 228 // process. See http://crbug.com/339659.
228 virtual void forwardInputEvent(blink::Frame*, blink::Event*) { } 229 virtual void forwardInputEvent(RemoteFrame*, Event*) { }
229 230
230 // Input mehtod editor related functions. 231 // Input mehtod editor related functions.
231 virtual void didCancelCompositionOnSelectionChange() { } 232 virtual void didCancelCompositionOnSelectionChange() { }
232 virtual void willSetInputMethodState() { } 233 virtual void willSetInputMethodState() { }
233 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 234 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
234 virtual void showImeIfNeeded() { } 235 virtual void showImeIfNeeded() { }
235 236
236 protected: 237 protected:
237 virtual ~ChromeClient() { } 238 virtual ~ChromeClient() { }
238 }; 239 };
239 240
240 } // namespace blink 241 } // namespace blink
241 242
242 #endif // ChromeClient_h 243 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698