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

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

Issue 1328293002: Allow turning on selection painting without selection gaps via window.internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/testing/Internals.cpp » ('j') | Source/core/testing/Internals.idl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. 366 // |useCounterId| must be one of the values from the UseCounter::Feature enu m.
367 bool isUseCounted(Document*, int useCounterId); 367 bool isUseCounted(Document*, int useCounterId);
368 368
369 String unscopeableAttribute(); 369 String unscopeableAttribute();
370 String unscopeableMethod(); 370 String unscopeableMethod();
371 371
372 ClientRectList* outlineRects(Element*); 372 ClientRectList* outlineRects(Element*);
373 373
374 void setCapsLockState(bool enabled); 374 void setCapsLockState(bool enabled);
375 375
376 void setSelectionPaintingWithoutSelectionGaps(bool enabled);
chrishtr 2015/09/08 22:59:02 setSelectionPaintingWithoutSelectionGapsEnabled
wkorman 2015/09/08 23:08:38 Done.
377
376 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 378 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
377 379
378 void forceRestrictIFramePermissions(); 380 void forceRestrictIFramePermissions();
379 private: 381 private:
380 explicit Internals(ScriptState*); 382 explicit Internals(ScriptState*);
381 Document* contextDocument() const; 383 Document* contextDocument() const;
382 LocalFrame* frame() const; 384 LocalFrame* frame() const;
383 Vector<String> iconURLs(Document*, int iconTypesMask) const; 385 Vector<String> iconURLs(Document*, int iconTypesMask) const;
384 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 386 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
385 387
386 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 388 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
387 Member<InternalRuntimeFlags> m_runtimeFlags; 389 Member<InternalRuntimeFlags> m_runtimeFlags;
388 390
389 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 391 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
390 }; 392 };
391 393
392 } // namespace blink 394 } // namespace blink
393 395
394 #endif // Internals_h 396 #endif // Internals_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/testing/Internals.cpp » ('j') | Source/core/testing/Internals.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698