OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <IOSurface/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 549 |
550 // Whether a request for begin frames has been issued. | 550 // Whether a request for begin frames has been issued. |
551 bool needs_begin_frames_; | 551 bool needs_begin_frames_; |
552 | 552 |
553 // Whether a request to flush input has been issued. | 553 // Whether a request to flush input has been issued. |
554 bool needs_flush_input_; | 554 bool needs_flush_input_; |
555 | 555 |
556 // The background color of the web content. This color will be drawn when the | 556 // The background color of the web content. This color will be drawn when the |
557 // web content is not able to draw in time. | 557 // web content is not able to draw in time. |
558 SkColor background_color_ = SK_ColorTRANSPARENT; | 558 SkColor background_color_ = SK_ColorTRANSPARENT; |
| 559 SkColor last_frame_root_background_color_ = SK_ColorTRANSPARENT; |
559 | 560 |
560 // Factory used to safely scope delayed calls to ShutdownHost(). | 561 // Factory used to safely scope delayed calls to ShutdownHost(). |
561 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 562 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
562 | 563 |
563 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 564 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
564 }; | 565 }; |
565 | 566 |
566 } // namespace content | 567 } // namespace content |
567 | 568 |
568 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 569 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |