diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 18:46:24 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 18:46:24 +0000 |
commit | 0e5a13aa0e667d34f893cb04d7c07db2153a733a (patch) | |
tree | 0eea9cc6a82f15c49e57e189c70bd212db2bc75b /content/public/renderer/android | |
parent | 4b55db2dff8dde8d0208dcd7eb4228d4743e948e (diff) | |
download | chromium_src-0e5a13aa0e667d34f893cb04d7c07db2153a733a.zip chromium_src-0e5a13aa0e667d34f893cb04d7c07db2153a733a.tar.gz chromium_src-0e5a13aa0e667d34f893cb04d7c07db2153a733a.tar.bz2 |
Revert 197660 "Introduce SynchronousCompositor + Client" which has incorrect gyp paths.
> Introduce SynchronousCompositor + Client
>
> Makes a direct API from aw/browser into the content/renderer
> compositor (for use in single process only).
> Plumb through the webview SW draw path as first step to removing
> the synchronous IPC path.
>
> BUG=230226
> NOTRY=true
>
> Review URL: https://chromiumcodereview.appspot.com/14445008
TBR=joth@chromium.org
Review URL: https://codereview.chromium.org/14598003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/renderer/android')
-rw-r--r-- | content/public/renderer/android/OWNERS | 6 | ||||
-rw-r--r-- | content/public/renderer/android/synchronous_compositor.h | 35 | ||||
-rw-r--r-- | content/public/renderer/android/synchronous_compositor_client.h | 28 |
3 files changed, 0 insertions, 69 deletions
diff --git a/content/public/renderer/android/OWNERS b/content/public/renderer/android/OWNERS deleted file mode 100644 index cff1ac9..0000000 --- a/content/public/renderer/android/OWNERS +++ /dev/null @@ -1,6 +0,0 @@ -# While the SynchronousCompositor API is in active development include -# all the following owners in any changes under this path. - -jamesr@chromium.org -joth@chromium.org -mkosiba@chromium.org diff --git a/content/public/renderer/android/synchronous_compositor.h b/content/public/renderer/android/synchronous_compositor.h deleted file mode 100644 index f0c380d..0000000 --- a/content/public/renderer/android/synchronous_compositor.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_ -#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_ - -class SkCanvas; - -namespace content { - -class SynchronousCompositorClient; - -// Interface for embedders that which to direct compositing operations -// synchronously under their own control. Only meaningful when the -// kEnableSyncrhonousRendererCompositor flag is specified. -class SynchronousCompositor { - public: - // Allows changing or resetting the client to NULL (this must be used if - // the client is being deleted prior to the DidDestroyCompositor() call - // being received by the client). Ownership of |client| remains with - // the caller. - virtual void SetClient(SynchronousCompositorClient* client) = 0; - - // "On demand" SW draw, into the supplied canvas (observing the transform - // and clip set there-in). - virtual bool DemandDrawSw(SkCanvas* canvas) = 0; - - protected: - virtual ~SynchronousCompositor() {} -}; - -} // namespace content - -#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_ diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/renderer/android/synchronous_compositor_client.h deleted file mode 100644 index dcbe09a..0000000 --- a/content/public/renderer/android/synchronous_compositor_client.h +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_CLIENT_H_ -#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCRHONOUS_COMPOSITOR_CLIENT_H_ - -namespace content { - -class SynchronousCompositor; - -class SynchronousCompositorClient { - public: - // Indication to the client that |compositor| is going out of scope, and - // must not be accessed within or after this call. - // NOTE if the client goes away before the compositor it must call - // SynchronousCompositor::SetClient(NULL) to release the back pointer. - virtual void DidDestroyCompositor(SynchronousCompositor* compositor) = 0; - - // TODO(joth): Add scroll getters and setters, and invalidations. - - protected: - virtual ~SynchronousCompositorClient() {} -}; - -} // namespace content - -#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_CLIENT_H_ |