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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1980133002: Implement pointer lock API for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void setCursorOverridden(bool); 149 void setCursorOverridden(bool);
150 150
151 bool hasOpenedPopup() const override; 151 bool hasOpenedPopup() const override;
152 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override; 152 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override;
153 PagePopup* openPagePopup(PagePopupClient*); 153 PagePopup* openPagePopup(PagePopupClient*);
154 void closePagePopup(PagePopup*); 154 void closePagePopup(PagePopup*);
155 DOMWindow* pagePopupWindowForTesting() const override; 155 DOMWindow* pagePopupWindowForTesting() const override;
156 156
157 bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, const Strin g& dialogMessage, Document::PageDismissalType) const override; 157 bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, const Strin g& dialogMessage, Document::PageDismissalType) const override;
158 158
159 bool requestPointerLock() override; 159 bool requestPointerLock(LocalFrame*) override;
160 void requestPointerUnlock() override; 160 void requestPointerUnlock(LocalFrame*) override;
161 161
162 // AutofillClient pass throughs: 162 // AutofillClient pass throughs:
163 void didAssociateFormControls(const HeapVector<Member<Element>>&, LocalFrame *) override; 163 void didAssociateFormControls(const HeapVector<Member<Element>>&, LocalFrame *) override;
164 void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent&) overr ide; 164 void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent&) overr ide;
165 void didChangeValueInTextField(HTMLFormControlElement&) override; 165 void didChangeValueInTextField(HTMLFormControlElement&) override;
166 void didEndEditingOnTextField(HTMLInputElement&) override; 166 void didEndEditingOnTextField(HTMLInputElement&) override;
167 void openTextDataListChooser(HTMLInputElement&) override; 167 void openTextDataListChooser(HTMLInputElement&) override;
168 void textFieldDataListChanged(HTMLInputElement&) override; 168 void textFieldDataListChanged(HTMLInputElement&) override;
169 void ajaxSucceeded(LocalFrame*) override; 169 void ajaxSucceeded(LocalFrame*) override;
170 170
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 Cursor m_lastSetMouseCursorForTesting; 205 Cursor m_lastSetMouseCursorForTesting;
206 bool m_cursorOverridden; 206 bool m_cursorOverridden;
207 bool m_didRequestNonEmptyToolTip; 207 bool m_didRequestNonEmptyToolTip;
208 }; 208 };
209 209
210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
211 211
212 } // namespace blink 212 } // namespace blink
213 213
214 #endif 214 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/PointerLockController.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698