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

Side by Side Diff: Source/core/frame/Window.idl

Issue 146003002: Bindings for CSSOM View smooth scroll API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google 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 * 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 [Replaceable] readonly attribute long innerWidth; 86 [Replaceable] readonly attribute long innerWidth;
87 [Replaceable] readonly attribute long screenX; 87 [Replaceable] readonly attribute long screenX;
88 [Replaceable] readonly attribute long screenY; 88 [Replaceable] readonly attribute long screenY;
89 [Replaceable] readonly attribute long screenLeft; 89 [Replaceable] readonly attribute long screenLeft;
90 [Replaceable] readonly attribute long screenTop; 90 [Replaceable] readonly attribute long screenTop;
91 [Replaceable] readonly attribute long scrollX; 91 [Replaceable] readonly attribute long scrollX;
92 [Replaceable] readonly attribute long scrollY; 92 [Replaceable] readonly attribute long scrollY;
93 readonly attribute long pageXOffset; 93 readonly attribute long pageXOffset;
94 readonly attribute long pageYOffset; 94 readonly attribute long pageYOffset;
95 95
96 void scrollBy(long x, long y); 96 [Custom] void scrollBy(long x, long y, Dictionary scrollOptions);
97 void scrollTo(long x, long y); 97 [Custom] void scrollTo(long x, long y, Dictionary scrollOptions);
98 void scroll(long x, long y); 98 [Custom] void scroll(long x, long y, Dictionary scrollOptions);
99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats. 99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats.
100 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats. 100 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats.
101 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti onal float y); // FIXME: this should take longs not floats. 101 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti onal float y); // FIXME: this should take longs not floats.
102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined] optional float height); // FIXME: this should take longs not floats. 102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined] optional float height); // FIXME: this should take longs not floats.
103 103
104 [DoNotCheckSecurity] readonly attribute boolean closed; 104 [DoNotCheckSecurity] readonly attribute boolean closed;
105 105
106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; 106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length;
107 107
108 attribute DOMString name; 108 attribute DOMString name;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 232 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
233 [Custom, NotEnumerable] getter Window (DOMString name); 233 [Custom, NotEnumerable] getter Window (DOMString name);
234 }; 234 };
235 235
236 Window implements GlobalEventHandlers; 236 Window implements GlobalEventHandlers;
237 Window implements ImageBitmapFactories; 237 Window implements ImageBitmapFactories;
238 Window implements WindowBase64; 238 Window implements WindowBase64;
239 Window implements WindowEventHandlers; 239 Window implements WindowEventHandlers;
240 Window implements WindowTimers; 240 Window implements WindowTimers;
241 241
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698