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

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

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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 DECLARE_TRACE(); 337 DECLARE_TRACE();
338 338
339 void setValueForUser(Element*, const String&); 339 void setValueForUser(Element*, const String&);
340 340
341 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 341 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
342 342
343 void setFocused(bool); 343 void setFocused(bool);
344 void setInitialFocus(bool); 344 void setInitialFocus(bool);
345 345
346 void setSequentialFocusNavigationStartingPoint(Node*);
347
346 bool ignoreLayoutWithPendingStylesheets(Document*); 348 bool ignoreLayoutWithPendingStylesheets(Document*);
347 349
348 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or 350 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or
349 // setNetworkStateMaxBandwidth. 351 // setNetworkStateMaxBandwidth.
350 void setNetworkStateNotifierTestOnly(bool); 352 void setNetworkStateNotifierTestOnly(bool);
351 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&); 353 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&);
352 354
353 unsigned countHitRegions(CanvasRenderingContext*); 355 unsigned countHitRegions(CanvasRenderingContext*);
354 356
355 bool isInCanvasFontCache(Document*, const String&); 357 bool isInCanvasFontCache(Document*, const String&);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 415
414 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
415 Member<InternalRuntimeFlags> m_runtimeFlags; 417 Member<InternalRuntimeFlags> m_runtimeFlags;
416 418
417 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 419 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
418 }; 420 };
419 421
420 } // namespace blink 422 } // namespace blink
421 423
422 #endif // Internals_h 424 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698