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

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

Issue 17640007: Refactoring: Simplify DocumentWriter by reorganizing its lifetime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-landing after fixing ASAN failure on set-parent-src-synchronously.xhtml. Created 7 years, 5 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
« no previous file with comments | « Source/core/svg/graphics/SVGImage.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 void forceReload(bool endToEnd); 274 void forceReload(bool endToEnd);
275 275
276 void enableMockSpeechSynthesizer(); 276 void enableMockSpeechSynthesizer();
277 277
278 String getImageSourceURL(Element*, ExceptionCode&); 278 String getImageSourceURL(Element*, ExceptionCode&);
279 279
280 bool isSelectPopupVisible(Node*); 280 bool isSelectPopupVisible(Node*);
281 281
282 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); 282 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&);
283 String baseURL(Document*, ExceptionCode&);
283 284
284 private: 285 private:
285 explicit Internals(Document*); 286 explicit Internals(Document*);
286 Document* contextDocument() const; 287 Document* contextDocument() const;
287 Frame* frame() const; 288 Frame* frame() const;
288 Vector<String> iconURLs(Document*, int iconTypesMask) const; 289 Vector<String> iconURLs(Document*, int iconTypesMask) const;
289 290
290 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 291 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
291 RefPtr<DOMWindow> m_frontendWindow; 292 RefPtr<DOMWindow> m_frontendWindow;
292 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 293 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
293 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 294 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
294 }; 295 };
295 296
296 } // namespace WebCore 297 } // namespace WebCore
297 298
298 #endif 299 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/graphics/SVGImage.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698