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

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

Issue 339573005: Wrong pending sheets test causing FOUC. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test Created 6 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 | Annotate | Revision Log
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 311 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
312 312
313 void trace(Visitor*); 313 void trace(Visitor*);
314 314
315 void setValueForUser(Element*, const String&); 315 void setValueForUser(Element*, const String&);
316 316
317 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 317 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
318 318
319 void setFocused(bool); 319 void setFocused(bool);
320 320
321 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&);
322
321 void setNetworkStateNotifierTestOnly(bool); 323 void setNetworkStateNotifierTestOnly(bool);
322 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 324 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
323 void setNetworkConnectionInfo(const String&, ExceptionState&); 325 void setNetworkConnectionInfo(const String&, ExceptionState&);
324 326
325 private: 327 private:
326 explicit Internals(Document*); 328 explicit Internals(Document*);
327 Document* contextDocument() const; 329 Document* contextDocument() const;
328 LocalFrame* frame() const; 330 LocalFrame* frame() const;
329 Vector<String> iconURLs(Document*, int iconTypesMask) const; 331 Vector<String> iconURLs(Document*, int iconTypesMask) const;
330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
331 333
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
334 RefPtrWillBeMember<InternalProfilers> m_profilers; 336 RefPtrWillBeMember<InternalProfilers> m_profilers;
335 }; 337 };
336 338
337 } // namespace WebCore 339 } // namespace WebCore
338 340
339 #endif 341 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698