OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 GL_BINDING_DEFAULT, | 115 GL_BINDING_DEFAULT, |
116 GL_BINDING_SOFTWARE_RENDERER | 116 GL_BINDING_SOFTWARE_RENDERER |
117 }; | 117 }; |
118 void SetUpGLBindings(GLBindingPreferences); | 118 void SetUpGLBindings(GLBindingPreferences); |
119 | 119 |
120 enum GraphicsContext3DImplementation { | 120 enum GraphicsContext3DImplementation { |
121 IN_PROCESS, | 121 IN_PROCESS, |
122 IN_PROCESS_COMMAND_BUFFER | 122 IN_PROCESS_COMMAND_BUFFER |
123 }; | 123 }; |
124 | 124 |
125 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( | |
126 const WebKit::WebGraphicsContext3D::Attributes& attributes, | |
127 WebKit::WebView* web_view); | |
128 | |
129 enum LayerTreeViewType { | 125 enum LayerTreeViewType { |
130 FAKE_CONTEXT, | 126 FAKE_CONTEXT, |
131 SOFTWARE_CONTEXT, | 127 SOFTWARE_CONTEXT, |
132 MESA_CONTEXT | 128 MESA_CONTEXT |
133 }; | 129 }; |
134 | 130 |
135 class DRTLayerTreeViewClient { | 131 class DRTLayerTreeViewClient { |
136 public: | 132 public: |
137 virtual ~DRTLayerTreeViewClient() { } | 133 virtual ~DRTLayerTreeViewClient() { } |
138 virtual void Layout() = 0; | 134 virtual void Layout() = 0; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 299 |
304 void EnableWebCoreLogChannels(const std::string& channels); | 300 void EnableWebCoreLogChannels(const std::string& channels); |
305 | 301 |
306 // - Gamepad | 302 // - Gamepad |
307 | 303 |
308 void SetGamepadData(const WebKit::WebGamepads& pads); | 304 void SetGamepadData(const WebKit::WebGamepads& pads); |
309 | 305 |
310 } // namespace webkit_support | 306 } // namespace webkit_support |
311 | 307 |
312 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 308 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
OLD | NEW |