OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 15 matching lines...) Expand all Loading... |
26 #ifndef GraphicsLayerFactoryChromium_h | 26 #ifndef GraphicsLayerFactoryChromium_h |
27 #define GraphicsLayerFactoryChromium_h | 27 #define GraphicsLayerFactoryChromium_h |
28 | 28 |
29 #include "platform/graphics/GraphicsLayerFactory.h" | 29 #include "platform/graphics/GraphicsLayerFactory.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 class WebViewImpl; | 32 class WebViewImpl; |
33 | 33 |
34 class GraphicsLayerFactoryChromium final : public GraphicsLayerFactory { | 34 class GraphicsLayerFactoryChromium final : public GraphicsLayerFactory { |
35 public: | 35 public: |
36 explicit GraphicsLayerFactoryChromium(WebViewImpl*); | 36 explicit GraphicsLayerFactoryChromium(); |
37 | 37 |
38 virtual ~GraphicsLayerFactoryChromium(); | 38 virtual ~GraphicsLayerFactoryChromium(); |
39 | 39 |
40 virtual PassOwnPtr<GraphicsLayer> createGraphicsLayer(GraphicsLayerClient*)
override; | 40 virtual PassOwnPtr<GraphicsLayer> createGraphicsLayer(GraphicsLayerClient*)
override; |
41 | |
42 private: | |
43 // The owner of this GraphicsLayerFactoryChromium. | |
44 WebViewImpl* m_webView; | |
45 }; | 41 }; |
46 | 42 |
47 } // namespace blink | 43 } // namespace blink |
48 | 44 |
49 #endif | 45 #endif |
OLD | NEW |