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

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

Issue 270283007: Implement the logic to find the correct <link> for Manifest in Document. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@link_manifest
Patch Set: 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class ClientRectList; 46 class ClientRectList;
47 class DOMPoint; 47 class DOMPoint;
48 class DOMStringList; 48 class DOMStringList;
49 class DOMWindow; 49 class DOMWindow;
50 class Document; 50 class Document;
51 class DocumentMarker; 51 class DocumentMarker;
52 class Element; 52 class Element;
53 class ExceptionState; 53 class ExceptionState;
54 class ExecutionContext; 54 class ExecutionContext;
55 class GCObservation; 55 class GCObservation;
56 class HTMLLinkElement;
56 class HTMLMediaElement; 57 class HTMLMediaElement;
57 class InternalProfilers; 58 class InternalProfilers;
58 class InternalRuntimeFlags; 59 class InternalRuntimeFlags;
59 class InternalSettings; 60 class InternalSettings;
60 class LayerRectList; 61 class LayerRectList;
61 class LocalFrame; 62 class LocalFrame;
62 class MallocStatistics; 63 class MallocStatistics;
63 class Node; 64 class Node;
64 class Page; 65 class Page;
65 class PagePopupController; 66 class PagePopupController;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue); 315 ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue);
315 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); 316 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue);
316 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 317 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
317 318
318 void trace(Visitor*); 319 void trace(Visitor*);
319 320
320 void setValueForUser(Element*, const String&); 321 void setValueForUser(Element*, const String&);
321 322
322 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 323 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
323 324
325 HTMLLinkElement* linkManifest(Document*, ExceptionState&);
326
324 private: 327 private:
325 explicit Internals(Document*); 328 explicit Internals(Document*);
326 Document* contextDocument() const; 329 Document* contextDocument() const;
327 LocalFrame* frame() const; 330 LocalFrame* frame() const;
328 Vector<String> iconURLs(Document*, int iconTypesMask) const; 331 Vector<String> iconURLs(Document*, int iconTypesMask) const;
329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
330 333
331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
333 RefPtrWillBeMember<InternalProfilers> m_profilers; 336 RefPtrWillBeMember<InternalProfilers> m_profilers;
334 }; 337 };
335 338
336 } // namespace WebCore 339 } // namespace WebCore
337 340
338 #endif 341 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698