Chromium Code Reviews

Side by Side Diff: webkit/compositor_bindings/WebDecorationLayerImpl.h

Issue 10963056: [cc] Add window decoration layers (NinePatch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hacky rebase for Jerome to use Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « cc/cc.gyp ('k') | webkit/compositor_bindings/WebDecorationLayerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebDecorationLayerImpl_h
6 #define WebDecorationLayerImpl_h
7
8 #include <public/WebDecorationLayer.h>
9 #include <wtf/OwnPtr.h>
10
11 namespace WebKit {
12
13 class WebLayerImpl;
14
15 class WebDecorationLayerImpl : public WebDecorationLayer {
16 public:
17 WebDecorationLayerImpl();
18 virtual ~WebDecorationLayerImpl();
19
20 // WebDecorationLayer implementation.
21 virtual WebLayer* layer() OVERRIDE;
22
23 virtual void setBitmap(const SkBitmap& bitmap, const WebRect& aperture) OVER RIDE;
24
25 private:
26 OwnPtr<WebLayerImpl> m_layer;
27 };
28
29 } // namespace WebKit
30
31 #endif // WebDecorationLayerImpl_h
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | webkit/compositor_bindings/WebDecorationLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine