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

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

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: error 500 Created 6 years, 7 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); 315 ScriptPromise createRejectedPromise(ExecutionContext*, 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 startSpeechInput(Element*); 320 void startSpeechInput(Element*);
321 void setValueForUser(Element*, const String&); 321 void setValueForUser(Element*, const String&);
322 322
323 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 323 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
324 324
325 String manifestURL(Document*, ExceptionState&);
326
325 private: 327 private:
326 explicit Internals(Document*); 328 explicit Internals(Document*);
327 Document* contextDocument() const; 329 Document* contextDocument() const;
328 LocalFrame* frame() const; 330 LocalFrame* frame() const;
329 Vector<String> iconURLs(Document*, int iconTypesMask) const; 331 Vector<String> iconURLs(Document*, int iconTypesMask) const;
330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
331 333
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
334 RefPtrWillBeMember<InternalProfilers> m_profilers; 336 RefPtrWillBeMember<InternalProfilers> m_profilers;
335 }; 337 };
336 338
337 } // namespace WebCore 339 } // namespace WebCore
338 340
339 #endif 341 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698