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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
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(WebViewImpl*); |
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 | 41 |
42 private: | 42 private: |
43 // The owner of this GraphicsLayerFactoryChromium. | 43 // The owner of this GraphicsLayerFactoryChromium. |
44 WebViewImpl* m_webView; | 44 WebViewImpl* m_webView; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
48 | 48 |
49 #endif | 49 #endif |
OLD | NEW |