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

Side by Side Diff: public/platform/WebContentLayerClient.h

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 25
26 #ifndef WebContentLayerClient_h 26 #ifndef WebContentLayerClient_h
27 #define WebContentLayerClient_h 27 #define WebContentLayerClient_h
28 28
29 #include "WebCanvas.h" 29 #include "WebCanvas.h"
30 #include "WebCommon.h" 30 #include "WebCommon.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class WebDisplayItemList; 34 class WebDisplayItemList;
35 class WebDisplayList;
36 struct WebDisplayListDiff;
35 struct WebRect; 37 struct WebRect;
36 38
37 class BLINK_PLATFORM_EXPORT WebContentLayerClient { 39 class BLINK_PLATFORM_EXPORT WebContentLayerClient {
38 public: 40 public:
39 enum PaintingControlSetting { 41 enum PaintingControlSetting {
40 PaintDefaultBehavior, 42 PaintDefaultBehavior,
41 DisplayListConstructionDisabled, 43 DisplayListConstructionDisabled,
42 DisplayListCachingDisabled, 44 DisplayListCachingDisabled,
43 DisplayListPaintingDisabled 45 DisplayListPaintingDisabled
44 }; 46 };
(...skipping 24 matching lines...) Expand all
69 // result includes data cached internally during painting. 71 // result includes data cached internally during painting.
70 virtual size_t approximateUnsharedMemoryUsage() const { return 0; } 72 virtual size_t approximateUnsharedMemoryUsage() const { return 0; }
71 73
72 protected: 74 protected:
73 virtual ~WebContentLayerClient() { } 75 virtual ~WebContentLayerClient() { }
74 }; 76 };
75 77
76 } // namespace blink 78 } // namespace blink
77 79
78 #endif // WebContentLayerClient_h 80 #endif // WebContentLayerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698