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

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: Fix incorrect assumption 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 String visiblePlaceholder(Element*); 135 String visiblePlaceholder(Element*);
136 void selectColorInColorChooser(Element*, const String& colorValue); 136 void selectColorInColorChooser(Element*, const String& colorValue);
137 void endColorChooser(Element*); 137 void endColorChooser(Element*);
138 bool hasAutofocusRequest(Document*); 138 bool hasAutofocusRequest(Document*);
139 bool hasAutofocusRequest(); 139 bool hasAutofocusRequest();
140 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 140 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
141 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 141 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
142 void setEnableMockPagePopup(bool, ExceptionState&); 142 void setEnableMockPagePopup(bool, ExceptionState&);
143 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 143 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
144 LocalDOMWindow* pagePopupWindow() const; 144 DOMWindow* pagePopupWindow() const;
145 145
146 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 146 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
147 147
148 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*); 148 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*);
149 149
150 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 150 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
151 unsigned activeMarkerCountForNode(Node*); 151 unsigned activeMarkerCountForNode(Node*);
152 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 152 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
153 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 153 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
154 void addTextMatchMarker(const Range*, bool isActive); 154 void addTextMatchMarker(const Range*, bool isActive);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 342 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
343 343
344 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 344 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
345 Member<InternalRuntimeFlags> m_runtimeFlags; 345 Member<InternalRuntimeFlags> m_runtimeFlags;
346 Member<InternalProfilers> m_profilers; 346 Member<InternalProfilers> m_profilers;
347 }; 347 };
348 348
349 } // namespace blink 349 } // namespace blink
350 350
351 #endif // Internals_h 351 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698