| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 GL_BINDING_DEFAULT, | 120 GL_BINDING_DEFAULT, |
| 121 GL_BINDING_SOFTWARE_RENDERER | 121 GL_BINDING_SOFTWARE_RENDERER |
| 122 }; | 122 }; |
| 123 void SetUpGLBindings(GLBindingPreferences); | 123 void SetUpGLBindings(GLBindingPreferences); |
| 124 | 124 |
| 125 enum GraphicsContext3DImplementation { | 125 enum GraphicsContext3DImplementation { |
| 126 IN_PROCESS, | 126 IN_PROCESS, |
| 127 IN_PROCESS_COMMAND_BUFFER | 127 IN_PROCESS_COMMAND_BUFFER |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( |
| 131 const WebKit::WebGraphicsContext3D::Attributes& attributes, |
| 132 WebKit::WebView* web_view); |
| 133 |
| 130 enum LayerTreeViewType { | 134 enum LayerTreeViewType { |
| 131 FAKE_CONTEXT, | 135 FAKE_CONTEXT, |
| 132 SOFTWARE_CONTEXT, | 136 SOFTWARE_CONTEXT, |
| 133 MESA_CONTEXT | 137 MESA_CONTEXT |
| 134 }; | 138 }; |
| 135 | 139 |
| 136 class DRTLayerTreeViewClient { | 140 class DRTLayerTreeViewClient { |
| 137 public: | 141 public: |
| 138 virtual ~DRTLayerTreeViewClient() { } | 142 virtual ~DRTLayerTreeViewClient() { } |
| 139 virtual void Layout() = 0; | 143 virtual void Layout() = 0; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 308 |
| 305 void EnableWebCoreLogChannels(const std::string& channels); | 309 void EnableWebCoreLogChannels(const std::string& channels); |
| 306 | 310 |
| 307 // - Gamepad | 311 // - Gamepad |
| 308 | 312 |
| 309 void SetGamepadData(const WebKit::WebGamepads& pads); | 313 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 310 | 314 |
| 311 } // namespace webkit_support | 315 } // namespace webkit_support |
| 312 | 316 |
| 313 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 317 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |