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

Unified Diff: Source/core/platform/graphics/GraphicsContextAnnotation.h

Issue 18551004: Miscellaneous cleanup to reduce number of includes in platform/graphics/ Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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: Source/core/platform/graphics/GraphicsContextAnnotation.h
diff --git a/Source/core/platform/graphics/GraphicsContextAnnotation.h b/Source/core/platform/graphics/GraphicsContextAnnotation.h
index 22684b5a1adc41178891542b166f107dcc017e97..0fa11d6895ff6c4b5073cbb33fa84f6554d09c6e 100644
--- a/Source/core/platform/graphics/GraphicsContextAnnotation.h
+++ b/Source/core/platform/graphics/GraphicsContextAnnotation.h
@@ -28,6 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "core/platform/graphics/AnnotationMode.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -45,17 +46,6 @@ class GraphicsContext;
class RenderObject;
struct PaintInfo;
-enum AnnotationMode {
- AnnotateRendererName = 1 << 0,
- AnnotatePaintPhase = 1 << 1,
- AnnotateElementId = 1 << 2,
- AnnotateElementClass = 1 << 3,
- AnnotateElementTag = 1 << 4,
-
- AnnotateAll = 0x1f
-};
-
-typedef unsigned AnnotationModeFlags;
typedef Vector<std::pair<const char*, String> > AnnotationList;
class GraphicsContextAnnotation {
« no previous file with comments | « Source/core/platform/graphics/GraphicsContext.cpp ('k') | Source/core/platform/graphics/GraphicsContextState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698