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

Side by Side Diff: Source/core/frame/DOMWindow.h

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify Created 6 years 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMWindow_h 5 #ifndef DOMWindow_h
6 #define DOMWindow_h 6 #define DOMWindow_h
7 7
8 #include "core/events/EventTarget.h" 8 #include "core/events/EventTarget.h"
9 #include "core/frame/DOMWindowBase64.h" 9 #include "core/frame/DOMWindowBase64.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void scroll(double x, double y, const ScrollOptions& scrollOptions, Exceptio nState& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } 150 void scroll(double x, double y, const ScrollOptions& scrollOptions, Exceptio nState& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); }
151 virtual void moveBy(float x, float y) const = 0; 151 virtual void moveBy(float x, float y) const = 0;
152 virtual void moveTo(float x, float y) const = 0; 152 virtual void moveTo(float x, float y) const = 0;
153 153
154 virtual void resizeBy(float x, float y) const = 0; 154 virtual void resizeBy(float x, float y) const = 0;
155 virtual void resizeTo(float width, float height) const = 0; 155 virtual void resizeTo(float width, float height) const = 0;
156 156
157 virtual PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) = 0 ; 157 virtual PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) = 0 ;
158 158
159 // DOM Level 2 Style Interface 159 // DOM Level 2 Style Interface
160 virtual PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element *, const String& pseudoElt) const = 0; 160 virtual PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element *, const String& pseudoElt = String()) const = 0;
161 161
162 // WebKit extensions 162 // WebKit extensions
163 virtual PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, con st String& pseudoElt) const = 0; 163 virtual PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, con st String& pseudoElt) const = 0;
164 164
165 // WebKit animation extensions 165 // WebKit animation extensions
166 virtual int requestAnimationFrame(RequestAnimationFrameCallback*) = 0; 166 virtual int requestAnimationFrame(RequestAnimationFrameCallback*) = 0;
167 virtual int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) = 0; 167 virtual int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) = 0;
168 virtual void cancelAnimationFrame(int id) = 0; 168 virtual void cancelAnimationFrame(int id) = 0;
169 169
170 void captureEvents() { } 170 void captureEvents() { }
(...skipping 23 matching lines...) Expand all
194 DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange); 194 DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange);
195 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); 195 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
196 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); 196 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
197 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); 197 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
198 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); 198 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
199 }; 199 };
200 200
201 } // namespace blink 201 } // namespace blink
202 202
203 #endif // DOMWindow_h 203 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698