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

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

Issue 17585006: Remove HTMLDocument.width and height properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix device metrics test with Internals API Created 7 years, 6 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/html/HTMLDocument.idl ('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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 Node* nextNodeByWalker(Node*, ExceptionCode&); 120 Node* nextNodeByWalker(Node*, ExceptionCode&);
121 Node* previousNodeByWalker(Node*, ExceptionCode&); 121 Node* previousNodeByWalker(Node*, ExceptionCode&);
122 122
123 String visiblePlaceholder(Element*); 123 String visiblePlaceholder(Element*);
124 void selectColorInColorChooser(Element*, const String& colorValue); 124 void selectColorInColorChooser(Element*, const String& colorValue);
125 Vector<String> formControlStateOfPreviousHistoryItem(ExceptionCode&); 125 Vector<String> formControlStateOfPreviousHistoryItem(ExceptionCode&);
126 void setFormControlStateOfPreviousHistoryItem(const Vector<String>&, Excepti onCode&); 126 void setFormControlStateOfPreviousHistoryItem(const Vector<String>&, Excepti onCode&);
127 void setEnableMockPagePopup(bool, ExceptionCode&); 127 void setEnableMockPagePopup(bool, ExceptionCode&);
128 PassRefPtr<PagePopupController> pagePopupController(); 128 PassRefPtr<PagePopupController> pagePopupController();
129 129
130 PassRefPtr<ClientRect> unscaledViewportRect(ExceptionCode&);
131
130 PassRefPtr<ClientRect> absoluteCaretBounds(ExceptionCode&); 132 PassRefPtr<ClientRect> absoluteCaretBounds(ExceptionCode&);
131 133
132 PassRefPtr<ClientRect> boundingBox(Element*, ExceptionCode&); 134 PassRefPtr<ClientRect> boundingBox(Element*, ExceptionCode&);
133 135
134 PassRefPtr<ClientRectList> inspectorHighlightRects(Document*, ExceptionCode& ); 136 PassRefPtr<ClientRectList> inspectorHighlightRects(Document*, ExceptionCode& );
135 137
136 unsigned markerCountForNode(Node*, const String&, ExceptionCode&); 138 unsigned markerCountForNode(Node*, const String&, ExceptionCode&);
137 PassRefPtr<Range> markerRangeForNode(Node*, const String& markerType, unsign ed index, ExceptionCode&); 139 PassRefPtr<Range> markerRangeForNode(Node*, const String& markerType, unsign ed index, ExceptionCode&);
138 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionCode&); 140 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionCode&);
139 void addTextMatchMarker(const Range*, bool isActive); 141 void addTextMatchMarker(const Range*, bool isActive);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 289
288 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 290 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
289 RefPtr<DOMWindow> m_frontendWindow; 291 RefPtr<DOMWindow> m_frontendWindow;
290 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 292 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
291 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 293 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
292 }; 294 };
293 295
294 } // namespace WebCore 296 } // namespace WebCore
295 297
296 #endif 298 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDocument.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698