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

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

Issue 176953009: Move testRunner.startSpeechInput/setValueForUser to internals (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 bool isCompositorFramePending(Document*, ExceptionState&); 307 bool isCompositorFramePending(Document*, ExceptionState&);
308 308
309 void setZoomFactor(float); 309 void setZoomFactor(float);
310 310
311 void setShouldRevealPassword(Element*, bool, ExceptionState&); 311 void setShouldRevealPassword(Element*, bool, ExceptionState&);
312 312
313 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 313 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
314 314
315 void trace(Visitor*); 315 void trace(Visitor*);
316 316
317 void startSpeechInput(Element*);
318 void setValueForUser(Element*, const String&);
haraken 2014/03/04 06:19:41 I'd rename this method to make it clear that it's
hajimehoshi 2014/03/04 06:27:19 Sorry but this was mistake. This method has nothin
319
317 private: 320 private:
318 explicit Internals(Document*); 321 explicit Internals(Document*);
319 Document* contextDocument() const; 322 Document* contextDocument() const;
320 LocalFrame* frame() const; 323 LocalFrame* frame() const;
321 Vector<String> iconURLs(Document*, int iconTypesMask) const; 324 Vector<String> iconURLs(Document*, int iconTypesMask) const;
322 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&); 325 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&);
323 326
324 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
325 RefPtr<DOMWindow> m_frontendWindow; 328 RefPtr<DOMWindow> m_frontendWindow;
326 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 329 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
327 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 330 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
328 RefPtrWillBeMember<InternalProfilers> m_profilers; 331 RefPtrWillBeMember<InternalProfilers> m_profilers;
329 }; 332 };
330 333
331 } // namespace WebCore 334 } // namespace WebCore
332 335
333 #endif 336 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698