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

Side by Side Diff: Source/platform/graphics/GraphicsContext.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2008-2009 Torch Mobile, Inc. 3 * Copyright (C) 2008-2009 Torch Mobile, Inc.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 SkCanvas* m_canvas; 483 SkCanvas* m_canvas;
484 484
485 // This being null indicates not to paint into a DisplayItemList, and instea d directly into the canvas. 485 // This being null indicates not to paint into a DisplayItemList, and instea d directly into the canvas.
486 DisplayItemList* m_displayItemList; 486 DisplayItemList* m_displayItemList;
487 487
488 ClipRecorderStack* m_clipRecorderStack; 488 ClipRecorderStack* m_clipRecorderStack;
489 489
490 // Paint states stack. Enables local drawing state change with save()/restor e() calls. 490 // Paint states stack. Enables local drawing state change with save()/restor e() calls.
491 // This state controls the appearance of drawn content. 491 // This state controls the appearance of drawn content.
492 // We do not delete from this stack to avoid memory churn. 492 // We do not delete from this stack to avoid memory churn.
493 Vector<OwnPtr<GraphicsContextState> > m_paintStateStack; 493 Vector<OwnPtr<GraphicsContextState>> m_paintStateStack;
494 // Current index on the stack. May not be the last thing on the stack. 494 // Current index on the stack. May not be the last thing on the stack.
495 unsigned m_paintStateIndex; 495 unsigned m_paintStateIndex;
496 // Raw pointer to the current state. 496 // Raw pointer to the current state.
497 GraphicsContextState* m_paintState; 497 GraphicsContextState* m_paintState;
498 498
499 AnnotationModeFlags m_annotationMode; 499 AnnotationModeFlags m_annotationMode;
500 500
501 Vector<OwnPtr<RecordingState> > m_recordingStateStack; 501 Vector<OwnPtr<RecordingState>> m_recordingStateStack;
502 502
503 #if ENABLE(ASSERT) 503 #if ENABLE(ASSERT)
504 unsigned m_annotationCount; 504 unsigned m_annotationCount;
505 unsigned m_layerCount; 505 unsigned m_layerCount;
506 bool m_disableDestructionChecks; 506 bool m_disableDestructionChecks;
507 bool m_inDrawingRecorder; 507 bool m_inDrawingRecorder;
508 #endif 508 #endif
509 // Tracks the region painted opaque via the GraphicsContext. 509 // Tracks the region painted opaque via the GraphicsContext.
510 RegionTracker m_trackedRegion; 510 RegionTracker m_trackedRegion;
511 511
(...skipping 11 matching lines...) Expand all
523 unsigned m_accelerated : 1; 523 unsigned m_accelerated : 1;
524 unsigned m_isCertainlyOpaque : 1; 524 unsigned m_isCertainlyOpaque : 1;
525 unsigned m_printing : 1; 525 unsigned m_printing : 1;
526 unsigned m_antialiasHairlineImages : 1; 526 unsigned m_antialiasHairlineImages : 1;
527 unsigned m_shouldSmoothFonts : 1; 527 unsigned m_shouldSmoothFonts : 1;
528 }; 528 };
529 529
530 } // namespace blink 530 } // namespace blink
531 531
532 #endif // GraphicsContext_h 532 #endif // GraphicsContext_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoder.h ('k') | Source/platform/graphics/GraphicsContextAnnotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698