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

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: removing one more override Created 4 years, 7 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 enum DialogType { 231 enum DialogType {
232 AlertDialog = 0, 232 AlertDialog = 0,
233 ConfirmDialog = 1, 233 ConfirmDialog = 1,
234 PromptDialog = 2, 234 PromptDialog = 2,
235 HTMLDialog = 3 235 HTMLDialog = 3
236 }; 236 };
237 virtual bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, con st String&, Document::PageDismissalType) const { return true; } 237 virtual bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, con st String&, Document::PageDismissalType) const { return true; }
238 238
239 virtual bool isSVGImageChromeClient() const { return false; } 239 virtual bool isSVGImageChromeClient() const { return false; }
240 240
241 virtual bool requestPointerLock() { return false; } 241 virtual bool requestPointerLock(LocalFrame*) { return false; }
242 virtual void requestPointerUnlock() { } 242 virtual void requestPointerUnlock(LocalFrame*) {}
243 243
244 virtual IntSize minimumWindowSize() const { return IntSize(100, 100); } 244 virtual IntSize minimumWindowSize() const { return IntSize(100, 100); }
245 245
246 virtual bool isChromeClientImpl() const { return false; } 246 virtual bool isChromeClientImpl() const { return false; }
247 247
248 virtual void didAssociateFormControls(const HeapVector<Member<Element>>&, Lo calFrame*) { } 248 virtual void didAssociateFormControls(const HeapVector<Member<Element>>&, Lo calFrame*) { }
249 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } 249 virtual void didChangeValueInTextField(HTMLFormControlElement&) { }
250 virtual void didEndEditingOnTextField(HTMLInputElement&) { } 250 virtual void didEndEditingOnTextField(HTMLInputElement&) { }
251 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { } 251 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) { }
252 virtual void textFieldDataListChanged(HTMLInputElement&) { } 252 virtual void textFieldDataListChanged(HTMLInputElement&) { }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 LayoutPoint m_lastToolTipPoint; 299 LayoutPoint m_lastToolTipPoint;
300 String m_lastToolTipText; 300 String m_lastToolTipText;
301 301
302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
303 }; 303 };
304 304
305 } // namespace blink 305 } // namespace blink
306 306
307 #endif // ChromeClient_h 307 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698