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

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

Issue 308813003: Merge 174628 "DevTools: Focus/blur events that are triggered by ..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
Patch Set: Created 6 years, 6 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 314 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue);
315 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue); 315 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue);
316 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 316 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
317 317
318 void trace(Visitor*); 318 void trace(Visitor*);
319 319
320 void setValueForUser(Element*, const String&); 320 void setValueForUser(Element*, const String&);
321 321
322 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 322 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
323 323
324 void setFocused(bool);
325
324 private: 326 private:
325 explicit Internals(Document*); 327 explicit Internals(Document*);
326 Document* contextDocument() const; 328 Document* contextDocument() const;
327 LocalFrame* frame() const; 329 LocalFrame* frame() const;
328 Vector<String> iconURLs(Document*, int iconTypesMask) const; 330 Vector<String> iconURLs(Document*, int iconTypesMask) const;
329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 331 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
330 332
331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 333 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 334 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
333 RefPtrWillBeMember<InternalProfilers> m_profilers; 335 RefPtrWillBeMember<InternalProfilers> m_profilers;
334 }; 336 };
335 337
336 } // namespace WebCore 338 } // namespace WebCore
337 339
338 #endif 340 #endif
OLDNEW
« no previous file with comments | « LayoutTests/inspector-protocol/input/dispatchKeyEvent-focus-expected.txt ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698