Chromium Code Reviews| Index: pdf/paint_manager.h |
| diff --git a/pdf/paint_manager.h b/pdf/paint_manager.h |
| index dd99f9d2a61f4203be6d884667a268783a3f6ad7..5ca05bf7558a0c9ac4093d5bd1714e7ce59d6706 100644 |
| --- a/pdf/paint_manager.h |
| +++ b/pdf/paint_manager.h |
| @@ -146,7 +146,15 @@ class PaintManager { |
| pp::Size GetEffectiveSize() const; |
| float GetEffectiveDeviceScale() const; |
| + // Set the transform for the graphics layer. |
| + void SetTransform(float scale, pp::Point Origin, pp::Point Transform); |
| + void SetTransform(float scale); |
| + |
| private: |
| + // Coalesce transforms if Flush is busy |
| + float scale_; |
| + pp::Point origin_, transform_; |
|
Kevin McNee - google account
2016/10/24 15:57:55
Not used.
Kevin McNee - google account
2016/10/24 21:11:47
Done.
|
| + |
| // Disallow copy and assign (these are unimplemented). |
| PaintManager(const PaintManager&); |
| PaintManager& operator=(const PaintManager&); |
| @@ -185,6 +193,7 @@ class PaintManager { |
| // See comment for EnsureCallbackPending for more on how these work. |
| bool manual_callback_pending_; |
| bool flush_pending_; |
| + bool flush_requested_; |
| // When we get a resize, we don't bind right away (see SetSize). The |
| // has_pending_resize_ tells us that we need to do a resize for the next |