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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 */ 23 */
24 24
25 #ifndef ContentLayerDelegate_h 25 #ifndef ContentLayerDelegate_h
26 #define ContentLayerDelegate_h 26 #define ContentLayerDelegate_h
27 27
28 #include "platform/PlatformExport.h" 28 #include "platform/PlatformExport.h"
29 #include "platform/geometry/IntSize.h" 29 #include "platform/geometry/IntSize.h"
30 #include "public/platform/WebContentLayerClient.h" 30 #include "public/platform/WebContentLayerClient.h"
31 #include "wtf/Allocator.h" 31 #include "wtf/Allocator.h"
32 #include "wtf/Noncopyable.h" 32 #include "wtf/Noncopyable.h"
33 #include "wtf/PassOwnPtr.h"
33 34
34 class SkCanvas; 35 class SkCanvas;
35 36
36 namespace gfx { 37 namespace gfx {
37 class Rect; 38 class Rect;
38 } 39 }
39 40
40 namespace blink { 41 namespace blink {
41 42
42 class IntRect; 43 class IntRect;
(...skipping 12 matching lines...) Expand all
55 void paintContents(WebDisplayItemList*, WebContentLayerClient::PaintingContr olSetting = PaintDefaultBehavior) override; 56 void paintContents(WebDisplayItemList*, WebContentLayerClient::PaintingContr olSetting = PaintDefaultBehavior) override;
56 size_t approximateUnsharedMemoryUsage() const override; 57 size_t approximateUnsharedMemoryUsage() const override;
57 58
58 private: 59 private:
59 GraphicsLayer* m_graphicsLayer; 60 GraphicsLayer* m_graphicsLayer;
60 }; 61 };
61 62
62 } // namespace blink 63 } // namespace blink
63 64
64 #endif // ContentLayerDelegate_h 65 #endif // ContentLayerDelegate_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698