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: third_party/WebKit/Source/core/testing/Internals.h

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: simplify Created 3 years, 10 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 String selectedTextForClipboard(); 482 String selectedTextForClipboard();
483 483
484 void setVisualViewportOffset(int x, int y); 484 void setVisualViewportOffset(int x, int y);
485 int visualViewportHeight(); 485 int visualViewportHeight();
486 int visualViewportWidth(); 486 int visualViewportWidth();
487 // The scroll position of the visual viewport relative to the document origin. 487 // The scroll position of the visual viewport relative to the document origin.
488 float visualViewportScrollX(); 488 float visualViewportScrollX();
489 float visualViewportScrollY(); 489 float visualViewportScrollY();
490 490
491 // Return true if the given use counter exists for the given document. 491 // Return true if the given use counter exists for the given document.
492 // |useCounterId| must be one of the values from the UseCounter::Feature enum. 492 // |feature| must be one of the values from the UseCounter::Feature enum.
493 bool isUseCounted(Document*, int useCounterId); 493 bool isUseCounted(Document*, uint32_t feature);
494 bool isCSSPropertyUseCounted(Document*, const String&); 494 bool isCSSPropertyUseCounted(Document*, const String&);
495 495
496 String unscopableAttribute(); 496 String unscopableAttribute();
497 String unscopableMethod(); 497 String unscopableMethod();
498 498
499 ClientRectList* focusRingRects(Element*); 499 ClientRectList* focusRingRects(Element*);
500 ClientRectList* outlineRects(Element*); 500 ClientRectList* outlineRects(Element*);
501 501
502 void setCapsLockState(bool enabled); 502 void setCapsLockState(bool enabled);
503 503
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 ExceptionState&); 541 ExceptionState&);
542 Member<InternalRuntimeFlags> m_runtimeFlags; 542 Member<InternalRuntimeFlags> m_runtimeFlags;
543 Member<Document> m_document; 543 Member<Document> m_document;
544 544
545 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 545 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
546 }; 546 };
547 547
548 } // namespace blink 548 } // namespace blink
549 549
550 #endif // Internals_h 550 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698