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

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

Issue 2643773007: Remove internals.address(node) (Closed)
Patch Set: Created 3 years, 11 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 public: 84 public:
85 static Internals* create(ExecutionContext* context) { 85 static Internals* create(ExecutionContext* context) {
86 return new Internals(context); 86 return new Internals(context);
87 } 87 }
88 88
89 static void resetToConsistentState(Page*); 89 static void resetToConsistentState(Page*);
90 90
91 String elementLayoutTreeAsText(Element*, ExceptionState&); 91 String elementLayoutTreeAsText(Element*, ExceptionState&);
92 92
93 String address(Node*);
94
95 GCObservation* observeGC(ScriptValue); 93 GCObservation* observeGC(ScriptValue);
96 94
97 bool isPreloaded(const String& url); 95 bool isPreloaded(const String& url);
98 bool isPreloadedBy(const String& url, Document*); 96 bool isPreloadedBy(const String& url, Document*);
99 bool isLoading(const String& url); 97 bool isLoading(const String& url);
100 bool isLoadingFromMemoryCache(const String& url); 98 bool isLoadingFromMemoryCache(const String& url);
101 int getResourcePriority(const String& url, Document*); 99 int getResourcePriority(const String& url, Document*);
102 String getResourceHeader(const String& url, const String& header, Document*); 100 String getResourceHeader(const String& url, const String& header, Document*);
103 101
104 bool isSharingStyle(Element*, Element*) const; 102 bool isSharingStyle(Element*, Element*) const;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 ExceptionState&); 541 ExceptionState&);
544 Member<InternalRuntimeFlags> m_runtimeFlags; 542 Member<InternalRuntimeFlags> m_runtimeFlags;
545 Member<Document> m_document; 543 Member<Document> m_document;
546 544
547 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 545 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
548 }; 546 };
549 547
550 } // namespace blink 548 } // namespace blink
551 549
552 #endif // Internals_h 550 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698