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

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

Issue 1083403005: Don't add duplicated line box rects into focus ring rects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase again Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutInline.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 void setVisualViewportOffset(int x, int y); 349 void setVisualViewportOffset(int x, int y);
350 350
351 // Return true if the given use counter exists for the given document. 351 // Return true if the given use counter exists for the given document.
352 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. 352 // |useCounterId| must be one of the values from the UseCounter::Feature enu m.
353 bool isUseCounted(Document*, int useCounterId); 353 bool isUseCounted(Document*, int useCounterId);
354 354
355 String unscopeableAttribute(); 355 String unscopeableAttribute();
356 String unscopeableMethod(); 356 String unscopeableMethod();
357 357
358 ClientRectList* focusRingRects(Element*);
359
358 private: 360 private:
359 explicit Internals(Document*); 361 explicit Internals(Document*);
360 Document* contextDocument() const; 362 Document* contextDocument() const;
361 LocalFrame* frame() const; 363 LocalFrame* frame() const;
362 Vector<String> iconURLs(Document*, int iconTypesMask) const; 364 Vector<String> iconURLs(Document*, int iconTypesMask) const;
363 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 365 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
364 366
365 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 367 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
366 Member<InternalRuntimeFlags> m_runtimeFlags; 368 Member<InternalRuntimeFlags> m_runtimeFlags;
367 369
368 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 370 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
369 }; 371 };
370 372
371 } // namespace blink 373 } // namespace blink
372 374
373 #endif // Internals_h 375 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutInline.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698