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

Side by Side Diff: third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.cpp

Issue 1488763002: Start an empty interface OffScreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up Created 5 years 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "core/html/canvas/OffScreenCanvas.h"
7
8 #include "core/frame/ImageBitmap.h"
9
10 namespace blink {
11
12 OffScreenCanvas* OffScreenCanvas::create(unsigned long width, unsigned long heig ht)
13 {
14 return nullptr;
15 }
16
17 void OffScreenCanvas::setWidth(unsigned long width)
18 {
19 m_size.setWidth(width);
20 }
21
22 void OffScreenCanvas::setHeight(unsigned long height)
23 {
24 m_size.setHeight(height);
25 }
26
27 PassRefPtrWillBeRawPtr<ImageBitmap> OffScreenCanvas::transferToImageBitmap()
28 {
29 return nullptr;
30 }
31
32 OffScreenCanvas::OffScreenCanvas(const IntSize& size)
33 : m_size(size)
34 {
35 }
36
37 DEFINE_TRACE(OffScreenCanvas)
38 {
39 }
40
41 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698