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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 1954023002: Move asserts in FocusNavigationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assertion 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1); 298 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1);
299 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2 , long arg3); 299 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2 , long arg3);
300 300
301 void setValueForUser(Element element, DOMString value); 301 void setValueForUser(Element element, DOMString value);
302 302
303 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 303 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
304 304
305 void setFocused(boolean focused); 305 void setFocused(boolean focused);
306 void setInitialFocus(boolean reverse); 306 void setInitialFocus(boolean reverse);
307 307
308 void setSequentialFocusNavigationStartingPoint(Node node);
309
308 boolean ignoreLayoutWithPendingStylesheets(Document document); 310 boolean ignoreLayoutWithPendingStylesheets(Document document);
309 311
310 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 312 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
311 // before calling setNetworkConnectionInfo. 313 // before calling setNetworkConnectionInfo.
312 void setNetworkStateNotifierTestOnly(boolean testOnly); 314 void setNetworkStateNotifierTestOnly(boolean testOnly);
313 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps); 315 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps);
314 316
315 // This function is for testing HitRegions on Canvas2D. 317 // This function is for testing HitRegions on Canvas2D.
316 unsigned long countHitRegions(CanvasRenderingContext2D context); 318 unsigned long countHitRegions(CanvasRenderingContext2D context);
317 319
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 356
355 void setMediaElementNetworkState(HTMLMediaElement element, long state); 357 void setMediaElementNetworkState(HTMLMediaElement element, long state);
356 358
357 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 359 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
359 361
360 DOMString getScrollAnimationState(Node node); 362 DOMString getScrollAnimationState(Node node);
361 363
362 DOMString getProgrammaticScrollAnimationState(Node node); 364 DOMString getProgrammaticScrollAnimationState(Node node);
363 }; 365 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698