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

Side by Side Diff: Source/core/html/canvas/ContextAttributeHelpers.h

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
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 #ifndef ContextAttributeHelpers_h 5 #ifndef ContextAttributeHelpers_h
6 #define ContextAttributeHelpers_h 6 #define ContextAttributeHelpers_h
7 7
8 #include "core/html/canvas/Canvas2DContextAttributes.h" 8 #include "core/html/canvas/Canvas2DContextAttributes.h"
9 #include "core/html/canvas/CanvasContextCreationAttributes.h" 9 #include "core/html/canvas/CanvasContextCreationAttributes.h"
10 #include "core/html/canvas/WebGLContextAttributes.h" 10 #include "core/html/canvas/WebGLContextAttributes.h"
11 #include "public/platform/WebGraphicsContext3D.h" 11 #include "public/platform/WebGraphicsContext3D.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Settings; 15 class Settings;
16 16
17 Canvas2DContextAttributes to2DContextAttributes(const CanvasContextCreationAttri butes&); 17 Canvas2DContextAttributes to2DContextAttributes(const CanvasContextCreationAttri butes&);
18 WebGLContextAttributes toWebGLContextAttributes(const CanvasContextCreationAttri butes&); 18 WebGLContextAttributes toWebGLContextAttributes(const CanvasContextCreationAttri butes&);
19 19
20 // Set up the attributes that can be used to initialize a WebGraphicsContext3D. 20 // Set up the attributes that can be used to initialize a WebGraphicsContext3D.
21 // It's mostly based on WebGLContextAttributes, but may be adjusted based 21 // It's mostly based on WebGLContextAttributes, but may be adjusted based
22 // on settings. 22 // on settings.
23 WebGraphicsContext3D::Attributes toWebGraphicsContext3DAttributes(const WebGLCon textAttributes&, const blink::WebString&, Settings*, unsigned webGLVersion); 23 WebGraphicsContext3D::Attributes toWebGraphicsContext3DAttributes(const WebGLCon textAttributes&, const WebString&, Settings*, unsigned webGLVersion);
24 24
25 } // namespace blink 25 } // namespace blink
26 26
27 #endif // ContextAttributeHelpers_h 27 #endif // ContextAttributeHelpers_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext.h ('k') | Source/core/html/canvas/ContextAttributeHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698