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

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

Issue 243173004: Make window.screen property non replaceable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix clang error Created 6 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 | Annotate | Revision Log
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); 318 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue);
319 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 319 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
320 320
321 void trace(Visitor*); 321 void trace(Visitor*);
322 322
323 void startSpeechInput(Element*); 323 void startSpeechInput(Element*);
324 void setValueForUser(Element*, const String&); 324 void setValueForUser(Element*, const String&);
325 325
326 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 326 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
327 327
328 void setOverrideScreenData(const Dictionary& overrideData);
329
328 private: 330 private:
329 explicit Internals(Document*); 331 explicit Internals(Document*);
330 Document* contextDocument() const; 332 Document* contextDocument() const;
331 LocalFrame* frame() const; 333 LocalFrame* frame() const;
332 Vector<String> iconURLs(Document*, int iconTypesMask) const; 334 Vector<String> iconURLs(Document*, int iconTypesMask) const;
333 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 335 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
334 336
335 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 337 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
336 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 338 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
337 RefPtrWillBeMember<InternalProfilers> m_profilers; 339 RefPtrWillBeMember<InternalProfilers> m_profilers;
338 }; 340 };
339 341
340 } // namespace WebCore 342 } // namespace WebCore
341 343
342 #endif 344 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698