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

Side by Side Diff: Source/core/frame/RemoteDOMWindow.cpp

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 // 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 #include "config.h" 5 #include "config.h"
6 #include "core/frame/RemoteDOMWindow.h" 6 #include "core/frame/RemoteDOMWindow.h"
7 7
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/SerializedScriptValue.h"
9 #include "core/css/CSSRuleList.h" 9 #include "core/css/CSSRuleList.h"
10 #include "core/css/CSSStyleDeclaration.h" 10 #include "core/css/CSSStyleDeclaration.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 void RemoteDOMWindow::scrollTo(double x, double y) const 277 void RemoteDOMWindow::scrollTo(double x, double y) const
278 { 278 {
279 ASSERT_NOT_REACHED(); 279 ASSERT_NOT_REACHED();
280 } 280 }
281 281
282 void RemoteDOMWindow::scrollTo(const ScrollToOptions&) const 282 void RemoteDOMWindow::scrollTo(const ScrollToOptions&) const
283 { 283 {
284 ASSERT_NOT_REACHED(); 284 ASSERT_NOT_REACHED();
285 } 285 }
286 286
287 void RemoteDOMWindow::moveBy(int x, int y, bool hasX, bool hasY) const 287 void RemoteDOMWindow::moveBy(int x, int y) const
288 { 288 {
289 ASSERT_NOT_REACHED(); 289 ASSERT_NOT_REACHED();
290 } 290 }
291 291
292 void RemoteDOMWindow::moveTo(int x, int y, bool hasX, bool hasY) const 292 void RemoteDOMWindow::moveTo(int x, int y) const
293 { 293 {
294 ASSERT_NOT_REACHED(); 294 ASSERT_NOT_REACHED();
295 } 295 }
296 296
297 void RemoteDOMWindow::resizeBy(int x, int y, bool hasX, bool hasY) const 297 void RemoteDOMWindow::resizeBy(int x, int y) const
298 { 298 {
299 ASSERT_NOT_REACHED(); 299 ASSERT_NOT_REACHED();
300 } 300 }
301 301
302 void RemoteDOMWindow::resizeTo(int width, int height, bool hasWidth, bool hasHei ght) const 302 void RemoteDOMWindow::resizeTo(int width, int height) const
303 { 303 {
304 ASSERT_NOT_REACHED(); 304 ASSERT_NOT_REACHED();
305 } 305 }
306 306
307 PassRefPtrWillBeRawPtr<MediaQueryList> RemoteDOMWindow::matchMedia(const String& ) 307 PassRefPtrWillBeRawPtr<MediaQueryList> RemoteDOMWindow::matchMedia(const String& )
308 { 308 {
309 ASSERT_NOT_REACHED(); 309 ASSERT_NOT_REACHED();
310 return nullptr; 310 return nullptr;
311 } 311 }
312 312
(...skipping 25 matching lines...) Expand all
338 { 338 {
339 ASSERT_NOT_REACHED(); 339 ASSERT_NOT_REACHED();
340 } 340 }
341 341
342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
343 : m_frame(&frame) 343 : m_frame(&frame)
344 { 344 {
345 } 345 }
346 346
347 } // namespace blink 347 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698