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

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

Issue 879913003: Use IntRect instead of FloatRect for window positions and sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME comments Created 5 years, 10 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
« no previous file with comments | « Source/core/frame/RemoteDOMWindow.h ('k') | Source/core/frame/Screen.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 // 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 void RemoteDOMWindow::scrollTo(double x, double y) const 294 void RemoteDOMWindow::scrollTo(double x, double y) const
295 { 295 {
296 ASSERT_NOT_REACHED(); 296 ASSERT_NOT_REACHED();
297 } 297 }
298 298
299 void RemoteDOMWindow::scrollTo(const ScrollToOptions&) const 299 void RemoteDOMWindow::scrollTo(const ScrollToOptions&) const
300 { 300 {
301 ASSERT_NOT_REACHED(); 301 ASSERT_NOT_REACHED();
302 } 302 }
303 303
304 void RemoteDOMWindow::moveBy(float x, float y) const 304 void RemoteDOMWindow::moveBy(int x, int y) const
305 { 305 {
306 ASSERT_NOT_REACHED(); 306 ASSERT_NOT_REACHED();
307 } 307 }
308 308
309 void RemoteDOMWindow::moveTo(float x, float y) const 309 void RemoteDOMWindow::moveTo(int x, int y, bool hasX, bool hasY) const
310 { 310 {
311 ASSERT_NOT_REACHED(); 311 ASSERT_NOT_REACHED();
312 } 312 }
313 313
314 void RemoteDOMWindow::resizeBy(float x, float y) const 314 void RemoteDOMWindow::resizeBy(int x, int y) const
315 { 315 {
316 ASSERT_NOT_REACHED(); 316 ASSERT_NOT_REACHED();
317 } 317 }
318 318
319 void RemoteDOMWindow::resizeTo(float width, float height) const 319 void RemoteDOMWindow::resizeTo(int width, int height, bool hasWidth, bool hasHei ght) const
320 { 320 {
321 ASSERT_NOT_REACHED(); 321 ASSERT_NOT_REACHED();
322 } 322 }
323 323
324 PassRefPtrWillBeRawPtr<MediaQueryList> RemoteDOMWindow::matchMedia(const String& ) 324 PassRefPtrWillBeRawPtr<MediaQueryList> RemoteDOMWindow::matchMedia(const String& )
325 { 325 {
326 ASSERT_NOT_REACHED(); 326 ASSERT_NOT_REACHED();
327 return nullptr; 327 return nullptr;
328 } 328 }
329 329
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 { 370 {
371 return String(); 371 return String();
372 } 372 }
373 373
374 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 374 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
375 : m_frame(&frame) 375 : m_frame(&frame)
376 { 376 {
377 } 377 }
378 378
379 } // namespace blink 379 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/RemoteDOMWindow.h ('k') | Source/core/frame/Screen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698