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

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

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

Powered by Google App Engine
This is Rietveld 408576698