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

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

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whee Created 6 years, 1 month 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 String visiblePlaceholder(Element*); 134 String visiblePlaceholder(Element*);
135 void selectColorInColorChooser(Element*, const String& colorValue); 135 void selectColorInColorChooser(Element*, const String& colorValue);
136 void endColorChooser(Element*); 136 void endColorChooser(Element*);
137 bool hasAutofocusRequest(Document*); 137 bool hasAutofocusRequest(Document*);
138 bool hasAutofocusRequest(); 138 bool hasAutofocusRequest();
139 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 139 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
140 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 140 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
141 void setEnableMockPagePopup(bool, ExceptionState&); 141 void setEnableMockPagePopup(bool, ExceptionState&);
142 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 142 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
143 LocalDOMWindow* pagePopupWindow() const; 143 DOMWindow* pagePopupWindow() const;
144 144
145 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 145 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
146 146
147 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*); 147 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*);
148 148
149 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 149 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
150 unsigned activeMarkerCountForNode(Node*); 150 unsigned activeMarkerCountForNode(Node*);
151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
153 void addTextMatchMarker(const Range*, bool isActive); 153 void addTextMatchMarker(const Range*, bool isActive);
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 340 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
341 341
342 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 342 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
343 Member<InternalRuntimeFlags> m_runtimeFlags; 343 Member<InternalRuntimeFlags> m_runtimeFlags;
344 Member<InternalProfilers> m_profilers; 344 Member<InternalProfilers> m_profilers;
345 }; 345 };
346 346
347 } // namespace blink 347 } // namespace blink
348 348
349 #endif // Internals_h 349 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698