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

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

Issue 2613983002: Rename paint related lifecycle methods of FrameView (Closed)
Patch Set: Update comments Created 3 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) 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 23 matching lines...) Expand all
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class WebDisplayItemList; 37 class WebDisplayItemList;
38 38
39 class BLINK_PLATFORM_EXPORT WebContentLayerClient { 39 class BLINK_PLATFORM_EXPORT WebContentLayerClient {
40 public: 40 public:
41 enum PaintingControlSetting { 41 enum PaintingControlSetting {
42 // Returns the last PaintArtifact produced. 42 // Returns the last PaintArtifact produced.
43 PaintDefaultBehavior, 43 PaintDefaultBehavior,
44 // Paints the content to simulate the behavior of 44 // Paints the content to simulate the behavior of FrameView::paint().
45 // FrameView::synchronizedPaint.
46 PaintDefaultBehaviorForTest, 45 PaintDefaultBehaviorForTest,
47 // Puts the GraphicsContext in disabled mode and disables display item 46 // Puts the GraphicsContext in disabled mode and disables display item
48 // construction in PaintController. 47 // construction in PaintController.
49 DisplayListConstructionDisabled, 48 DisplayListConstructionDisabled,
50 DisplayListCachingDisabled, 49 DisplayListCachingDisabled,
51 DisplayListPaintingDisabled, 50 DisplayListPaintingDisabled,
52 SubsequenceCachingDisabled, 51 SubsequenceCachingDisabled,
53 PartialInvalidation 52 PartialInvalidation
54 }; 53 };
55 54
(...skipping 18 matching lines...) Expand all
74 // result includes data cached internally during painting. 73 // result includes data cached internally during painting.
75 virtual size_t approximateUnsharedMemoryUsage() const { return 0; } 74 virtual size_t approximateUnsharedMemoryUsage() const { return 0; }
76 75
77 protected: 76 protected:
78 virtual ~WebContentLayerClient() {} 77 virtual ~WebContentLayerClient() {}
79 }; 78 };
80 79
81 } // namespace blink 80 } // namespace blink
82 81
83 #endif // WebContentLayerClient_h 82 #endif // WebContentLayerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698