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

Side by Side Diff: Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 virtual bool requestPointerLock() override; 168 virtual bool requestPointerLock() override;
169 virtual void requestPointerUnlock() override; 169 virtual void requestPointerUnlock() override;
170 170
171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) override; 171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) override;
172 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; 172 virtual void didChangeValueInTextField(HTMLFormControlElement&) override;
173 virtual void didEndEditingOnTextField(HTMLInputElement&) override; 173 virtual void didEndEditingOnTextField(HTMLInputElement&) override;
174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) override; 174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) override;
175 175
176 // FIXME: Remove this method once we have input routing in the browser 176 // FIXME: Remove this method once we have input routing in the browser
177 // process. See http://crbug.com/339659. 177 // process. See http://crbug.com/339659.
178 virtual void forwardInputEvent(Frame*, Event*) override; 178 virtual void forwardInputEvent(RemoteFrame*, Event*) override;
179 179
180 virtual void didCancelCompositionOnSelectionChange() override; 180 virtual void didCancelCompositionOnSelectionChange() override;
181 virtual void willSetInputMethodState() override; 181 virtual void willSetInputMethodState() override;
182 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; 182 virtual void didUpdateTextOfFocusedElementByNonUserInput() override;
183 virtual void showImeIfNeeded() override; 183 virtual void showImeIfNeeded() override;
184 184
185 private: 185 private:
186 virtual bool isChromeClientImpl() const override { return true; } 186 virtual bool isChromeClientImpl() const override { return true; }
187 187
188 WebNavigationPolicy getNavigationPolicy(); 188 WebNavigationPolicy getNavigationPolicy();
189 void setCursor(const WebCursorInfo&); 189 void setCursor(const WebCursorInfo&);
190 190
191 WebViewImpl* m_webView; // weak pointer 191 WebViewImpl* m_webView; // weak pointer
192 bool m_toolbarsVisible; 192 bool m_toolbarsVisible;
193 bool m_statusbarVisible; 193 bool m_statusbarVisible;
194 bool m_scrollbarsVisible; 194 bool m_scrollbarsVisible;
195 bool m_menubarVisible; 195 bool m_menubarVisible;
196 bool m_resizable; 196 bool m_resizable;
197 197
198 PagePopupDriver* m_pagePopupDriver; 198 PagePopupDriver* m_pagePopupDriver;
199 }; 199 };
200 200
201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698