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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.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) 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 enum DialogType { 232 enum DialogType {
233 AlertDialog = 0, 233 AlertDialog = 0,
234 ConfirmDialog = 1, 234 ConfirmDialog = 1,
235 PromptDialog = 2, 235 PromptDialog = 2,
236 HTMLDialog = 3 236 HTMLDialog = 3
237 }; 237 };
238 virtual bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, con st String&, Document::PageDismissalType) const { return true; } 238 virtual bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, con st String&, Document::PageDismissalType) const { return true; }
239 239
240 virtual bool isSVGImageChromeClient() const { return false; } 240 virtual bool isSVGImageChromeClient() const { return false; }
241 241
242 virtual bool requestPointerLock() { return false; } 242 virtual bool requestPointerLock(LocalFrame*) { return false; }
243 virtual void requestPointerUnlock() { } 243 virtual void requestPointerUnlock(LocalFrame*) {}
244 244
245 virtual IntSize minimumWindowSize() const { return IntSize(100, 100); } 245 virtual IntSize minimumWindowSize() const { return IntSize(100, 100); }
246 246
247 virtual bool isChromeClientImpl() const { return false; } 247 virtual bool isChromeClientImpl() const { return false; }
248 248
249 virtual void didAssociateFormControls(const HeapVector<Member<Element>>&, Lo calFrame*) { } 249 virtual void didAssociateFormControls(const HeapVector<Member<Element>>&, Lo calFrame*) { }
250 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } 250 virtual void didChangeValueInTextField(HTMLFormControlElement&) { }
251 virtual void didEndEditingOnTextField(HTMLInputElement&) { } 251 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
252 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { } 252 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
253 virtual void textFieldDataListChanged(HTMLInputElement&) { } 253 virtual void textFieldDataListChanged(HTMLInputElement&) { }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 LayoutPoint m_lastToolTipPoint; 302 LayoutPoint m_lastToolTipPoint;
303 String m_lastToolTipText; 303 String m_lastToolTipText;
304 304
305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
306 }; 306 };
307 307
308 } // namespace blink 308 } // namespace blink
309 309
310 #endif // ChromeClient_h 310 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/page/PointerLockController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698