| Index: content/browser/android/graphics_context.h
|
| diff --git a/content/public/browser/android/graphics_context.h b/content/browser/android/graphics_context.h
|
| similarity index 58%
|
| rename from content/public/browser/android/graphics_context.h
|
| rename to content/browser/android/graphics_context.h
|
| index a8d828580c1fff2481922f789f00a9a223be4cbb..6251f3de8747639b95f54949e28d578b35acb15e 100644
|
| --- a/content/public/browser/android/graphics_context.h
|
| +++ b/content/browser/android/graphics_context.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
| -#define CONTENT_PUBLIC_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
| +#ifndef CONTENT_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
| +#define CONTENT_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
|
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| @@ -19,13 +19,15 @@ class GraphicsContext {
|
| public:
|
| virtual ~GraphicsContext() { }
|
|
|
| - // Create a UI graphics context that renders to the given surface.
|
| + // Create and returns a graphics context on the caller's thread and
|
| + // also creates an image transport surface associated with the given
|
| + // parent window.
|
| static GraphicsContext* CreateForUI(ANativeWindow* ui_window);
|
|
|
| - virtual WebKit::WebGraphicsContext3D* GetContext3D() = 0;
|
| virtual uint32 InsertSyncPoint() = 0;
|
| + virtual int GetSurfaceID() = 0;
|
| };
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_PUBLIC_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
| +#endif // CONTENT_BROWSER_ANDROID_GRAPHICS_CONTEXT_H_
|
|
|