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

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

Issue 1100053002: Revert of IDL: Add support for [Unscopeable] on attributes and methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | « Source/bindings/tests/results/core/V8TestObject.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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 String selectedHTMLForClipboard(); 346 String selectedHTMLForClipboard();
347 String selectedTextForClipboard(); 347 String selectedTextForClipboard();
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();
356 String unscopeableMethod();
357
358 private: 355 private:
359 explicit Internals(Document*); 356 explicit Internals(Document*);
360 Document* contextDocument() const; 357 Document* contextDocument() const;
361 LocalFrame* frame() const; 358 LocalFrame* frame() const;
362 Vector<String> iconURLs(Document*, int iconTypesMask) const; 359 Vector<String> iconURLs(Document*, int iconTypesMask) const;
363 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 360 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
364 361
365 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 362 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
366 Member<InternalRuntimeFlags> m_runtimeFlags; 363 Member<InternalRuntimeFlags> m_runtimeFlags;
367 364
368 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 365 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
369 }; 366 };
370 367
371 } // namespace blink 368 } // namespace blink
372 369
373 #endif // Internals_h 370 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestObject.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698