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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Revert commit that moved functions back into core Created 3 years, 8 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 "modules/canvas2d/CanvasRenderingContext2D.h" 5 #include "modules/canvas2d/CanvasRenderingContext2D.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/V8Binding.h" 8 #include "bindings/core/v8/V8BindingForCore.h"
9 #include "bindings/core/v8/V8BindingForTesting.h" 9 #include "bindings/core/v8/V8BindingForTesting.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/frame/FrameView.h" 11 #include "core/frame/FrameView.h"
12 #include "core/frame/ImageBitmap.h" 12 #include "core/frame/ImageBitmap.h"
13 #include "core/frame/Settings.h" 13 #include "core/frame/Settings.h"
14 #include "core/html/HTMLCanvasElement.h" 14 #include "core/html/HTMLCanvasElement.h"
15 #include "core/html/ImageData.h" 15 #include "core/html/ImageData.h"
16 #include "core/imagebitmap/ImageBitmapOptions.h" 16 #include "core/imagebitmap/ImageBitmapOptions.h"
17 #include "core/layout/LayoutBoxModelObject.h" 17 #include "core/layout/LayoutBoxModelObject.h"
18 #include "core/loader/EmptyClients.h" 18 #include "core/loader/EmptyClients.h"
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 EXPECT_FALSE(layer->NeedsCompositingInputsUpdate()); 1453 EXPECT_FALSE(layer->NeedsCompositingInputsUpdate());
1454 1454
1455 // Wake up again, which should request a compositing update synchronously. 1455 // Wake up again, which should request a compositing update synchronously.
1456 GetDocument().GetPage()->SetVisibilityState(kPageVisibilityStateVisible, 1456 GetDocument().GetPage()->SetVisibilityState(kPageVisibilityStateVisible,
1457 false); 1457 false);
1458 EXPECT_EQ(!!CANVAS2D_HIBERNATION_ENABLED, 1458 EXPECT_EQ(!!CANVAS2D_HIBERNATION_ENABLED,
1459 layer->NeedsCompositingInputsUpdate()); 1459 layer->NeedsCompositingInputsUpdate());
1460 } 1460 }
1461 1461
1462 } // namespace blink 1462 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698