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

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

Issue 774203003: Update Window API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expected results 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
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/frame/LocalDOMWindow.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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void print() override; 134 void print() override;
135 void stop() override; 135 void stop() override;
136 void alert(const String& message = String()) override; 136 void alert(const String& message = String()) override;
137 bool confirm(const String& message) override; 137 bool confirm(const String& message) override;
138 String prompt(const String& message, const String& defaultValue) override; 138 String prompt(const String& message, const String& defaultValue) override;
139 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 139 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
140 140
141 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport. 141 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport.
142 // crbug.com/434497 142 // crbug.com/434497
143 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 143 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
144 void scrollBy(double x, double y, const ScrollOptions&, ExceptionState&) con st override; 144 void scrollBy(const ScrollToOptions&) const override;
145 void scrollTo(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 145 void scrollTo(double x, double y) const override;
146 void scrollTo(double x, double y, const ScrollOptions&, ExceptionState&) con st override; 146 void scrollTo(const ScrollToOptions&) const override;
147 147
148 void moveBy(float x, float y) const override; 148 void moveBy(float x, float y) const override;
149 void moveTo(float x, float y) const override; 149 void moveTo(float x, float y) const override;
150 void resizeBy(float x, float y) const override; 150 void resizeBy(float x, float y) const override;
151 void resizeTo(float width, float height) const override; 151 void resizeTo(float width, float height) const override;
152 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 152 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
153 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 153 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
154 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 154 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
155 int requestAnimationFrame(RequestAnimationFrameCallback*) override; 155 int requestAnimationFrame(RequestAnimationFrameCallback*) override;
156 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) override; 156 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) override;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 } 341 }
342 342
343 inline String LocalDOMWindow::defaultStatus() const 343 inline String LocalDOMWindow::defaultStatus() const
344 { 344 {
345 return m_defaultStatus; 345 return m_defaultStatus;
346 } 346 }
347 347
348 } // namespace blink 348 } // namespace blink
349 349
350 #endif // LocalDOMWindow_h 350 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698