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

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

Issue 886463010: Make arguments to window.{move,resize}{To,By} non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 String prompt(const String& message, const String& defaultValue) override; 130 String prompt(const String& message, const String& defaultValue) override;
131 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 131 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
132 132
133 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport. 133 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport.
134 // crbug.com/434497 134 // crbug.com/434497
135 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 135 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
136 void scrollBy(const ScrollToOptions&) const override; 136 void scrollBy(const ScrollToOptions&) const override;
137 void scrollTo(double x, double y) const override; 137 void scrollTo(double x, double y) const override;
138 void scrollTo(const ScrollToOptions&) const override; 138 void scrollTo(const ScrollToOptions&) const override;
139 139
140 void moveBy(int x, int y, bool hasX, bool hasY) const override; 140 void moveBy(int x, int y) const override;
141 void moveTo(int x, int y, bool hasX, bool hasY) const override; 141 void moveTo(int x, int y) const override;
142 void resizeBy(int x, int y, bool hasX, bool hasY) const override; 142 void resizeBy(int x, int y) const override;
143 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov erride; 143 void resizeTo(int width, int height) const override;
144 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 144 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
145 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 145 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
146 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 146 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
147 int requestAnimationFrame(FrameRequestCallback*) override; 147 int requestAnimationFrame(FrameRequestCallback*) override;
148 int webkitRequestAnimationFrame(FrameRequestCallback*) override; 148 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
149 void cancelAnimationFrame(int id) override; 149 void cancelAnimationFrame(int id) override;
150 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace); 150 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace);
151 151
152 void registerProperty(DOMWindowProperty*); 152 void registerProperty(DOMWindowProperty*);
153 void unregisterProperty(DOMWindowProperty*); 153 void unregisterProperty(DOMWindowProperty*);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 288 }
289 289
290 inline String LocalDOMWindow::defaultStatus() const 290 inline String LocalDOMWindow::defaultStatus() const
291 { 291 {
292 return m_defaultStatus; 292 return m_defaultStatus;
293 } 293 }
294 294
295 } // namespace blink 295 } // namespace blink
296 296
297 #endif // LocalDOMWindow_h 297 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698