Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2628)

Unified Diff: cc/occlusion_tracker.h

Issue 12328142: Mark types used in template instantiatious explicitly as visible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/occlusion_tracker.h
diff --git a/cc/occlusion_tracker.h b/cc/occlusion_tracker.h
index 1d549e709347a38a24d1e5bd8ef0367ba0a7f2e3..882c75aa315807d37b8ff3d8860a094158c07cba 100644
--- a/cc/occlusion_tracker.h
+++ b/cc/occlusion_tracker.h
@@ -6,6 +6,7 @@
#define CC_OCCLUSION_TRACKER_H_
#include "base/basictypes.h"
+#include "base/export_template_type.h"
#include "cc/cc_export.h"
#include "cc/layer_iterator.h"
#include "cc/region.h"
@@ -13,10 +14,6 @@
namespace cc {
class OverdrawMetrics;
-class LayerImpl;
-class RenderSurfaceImpl;
-class Layer;
-class RenderSurface;
// This class is used to track occlusion of layers while traversing them in a front-to-back order. As each layer is visited, one of the
// methods in this class is called to notify it about the current target surface.
@@ -102,6 +99,11 @@ private:
DISALLOW_COPY_AND_ASSIGN(OcclusionTrackerBase);
};
+EXPORT_TEMPLATE_TYPE(class, CC_EXPORT, Layer);
+EXPORT_TEMPLATE_TYPE(class, CC_EXPORT, LayerImpl);
+EXPORT_TEMPLATE_TYPE(class, CC_EXPORT, RenderSurface);
+EXPORT_TEMPLATE_TYPE(class, CC_EXPORT, RenderSurfaceImpl);
+
typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker;
typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl;
#if !defined(COMPILER_MSVC)
« base/export_template_type.h ('K') | « base/export_template_type.h ('k') | ui/gfx/rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698