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

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

Issue 2500793002: Internals.setValueForUser(): add argument type check. (Closed)
Patch Set: constrain argument type via IDL Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class ClientRect; 48 class ClientRect;
49 class ClientRectList; 49 class ClientRectList;
50 class DOMArrayBuffer; 50 class DOMArrayBuffer;
51 class DOMPoint; 51 class DOMPoint;
52 class DictionaryTest; 52 class DictionaryTest;
53 class Document; 53 class Document;
54 class DocumentMarker; 54 class DocumentMarker;
55 class Element; 55 class Element;
56 class ExceptionState; 56 class ExceptionState;
57 class GCObservation; 57 class GCObservation;
58 class HTMLInputElement;
59 class HTMLMediaElement;
58 class HTMLSelectElement; 60 class HTMLSelectElement;
59 class HTMLMediaElement;
60 class InternalRuntimeFlags; 61 class InternalRuntimeFlags;
61 class InternalSettings; 62 class InternalSettings;
62 class LayerRectList; 63 class LayerRectList;
63 class LocalDOMWindow; 64 class LocalDOMWindow;
64 class LocalFrame; 65 class LocalFrame;
65 class Location; 66 class Location;
66 class Node; 67 class Node;
67 class OriginTrialsTest; 68 class OriginTrialsTest;
68 class Page; 69 class Page;
69 class PrivateScriptTest; 70 class PrivateScriptTest;
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 const Dictionary&, 442 const Dictionary&,
442 const String&, 443 const String&,
443 const Vector<String>&); 444 const Vector<String>&);
444 ScriptPromise promiseCheckRange(ScriptState*, long); 445 ScriptPromise promiseCheckRange(ScriptState*, long);
445 ScriptPromise promiseCheckOverload(ScriptState*, Location*); 446 ScriptPromise promiseCheckOverload(ScriptState*, Location*);
446 ScriptPromise promiseCheckOverload(ScriptState*, Document*); 447 ScriptPromise promiseCheckOverload(ScriptState*, Document*);
447 ScriptPromise promiseCheckOverload(ScriptState*, Location*, long, long); 448 ScriptPromise promiseCheckOverload(ScriptState*, Location*, long, long);
448 449
449 DECLARE_TRACE(); 450 DECLARE_TRACE();
450 451
451 void setValueForUser(Element*, const String&); 452 void setValueForUser(HTMLInputElement*, const String&);
452 453
453 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 454 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
454 455
455 void setFocused(bool); 456 void setFocused(bool);
456 void setInitialFocus(bool); 457 void setInitialFocus(bool);
457 458
458 bool ignoreLayoutWithPendingStylesheets(Document*); 459 bool ignoreLayoutWithPendingStylesheets(Document*);
459 460
460 void setNetworkConnectionInfoOverride(bool, 461 void setNetworkConnectionInfoOverride(bool,
461 const String&, 462 const String&,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 unsigned index, 541 unsigned index,
541 ExceptionState&); 542 ExceptionState&);
542 Member<InternalRuntimeFlags> m_runtimeFlags; 543 Member<InternalRuntimeFlags> m_runtimeFlags;
543 544
544 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 545 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
545 }; 546 };
546 547
547 } // namespace blink 548 } // namespace blink
548 549
549 #endif // Internals_h 550 #endif // Internals_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698