Move and split up image_transport_factory files.
The image_transport_factory.cc declares and defines 11 classes
currently, which makes it incredibly hard to work on, or read
and understand.
This moves the files out from content/browser/renderer_host/ where
they do not belong as they are serving the browser compositor. It moves
the files to content/browser/aura/ (beside content/browser/android/)
and splits them up into separate files for each class. There's a few
classes left in gpu_process_image_factory.cc that can be split out
afterward.
This also splits the BrowserCompositorOutputSurfaceProxy off from the
new RefCountedIDMap so that no class except the
GpuProcessTransportFactory needs to know about the proxy, by passing
the compositor thread message loop to the proxy directly.
[email protected]
NOTRY=true
BUG=258625
Review URL: https://codereview.chromium.org/20570003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214213 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/compositor/reflector.h b/ui/compositor/reflector.h
new file mode 100644
index 0000000..e6fb94c8
--- /dev/null
+++ b/ui/compositor/reflector.h
@@ -0,0 +1,28 @@
+// 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 UI_COMPOSITOR_REFLECTOR_H_
+#define UI_COMPOSITOR_REFLECTOR_H_
+
+#include "ui/compositor/compositor_export.h"
+
+namespace ui {
+
+class COMPOSITOR_EXPORT Reflector
+ : public base::RefCountedThreadSafe<Reflector> {
+ public:
+ Reflector() {}
+
+ virtual void OnMirroringCompositorResized() {}
+
+ protected:
+ friend class base::RefCountedThreadSafe<Reflector>;
+ virtual ~Reflector() {}
+
+ DISALLOW_COPY_AND_ASSIGN(Reflector);
+};
+
+} // namespace ui
+
+#endif // UI_COMPOSITOR_REFLECTOR_H_