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

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

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 // 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 { 337 {
338 ASSERT_NOT_REACHED(); 338 ASSERT_NOT_REACHED();
339 return 0; 339 return 0;
340 } 340 }
341 341
342 void RemoteDOMWindow::cancelAnimationFrame(int id) 342 void RemoteDOMWindow::cancelAnimationFrame(int id)
343 { 343 {
344 ASSERT_NOT_REACHED(); 344 ASSERT_NOT_REACHED();
345 } 345 }
346 346
347 int RemoteDOMWindow::requestIdleFrame(IdleRequestCallback*)
348 {
349 ASSERT_NOT_REACHED();
350 return 0;
351 }
352
353 void RemoteDOMWindow::cancelIdleFrame(int id)
354 {
355 ASSERT_NOT_REACHED();
356 }
357
347 String RemoteDOMWindow::sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* c allingWindow) 358 String RemoteDOMWindow::sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* c allingWindow)
348 { 359 {
349 return String(); 360 return String();
350 } 361 }
351 362
352 String RemoteDOMWindow::crossDomainAccessErrorMessage(LocalDOMWindow* callingWin dow) 363 String RemoteDOMWindow::crossDomainAccessErrorMessage(LocalDOMWindow* callingWin dow)
353 { 364 {
354 return String(); 365 return String();
355 } 366 }
356 367
357 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 368 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
358 : m_frame(&frame) 369 : m_frame(&frame)
359 { 370 {
360 } 371 }
361 372
362 } // namespace blink 373 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698