OLD | NEW |
---|---|
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 * | 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 25 matching lines...) Expand all Loading... | |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class WebScrollbarLayer { | 39 class WebScrollbarLayer { |
40 public: | 40 public: |
41 virtual ~WebScrollbarLayer() { } | 41 virtual ~WebScrollbarLayer() { } |
42 | 42 |
43 virtual WebLayer* layer() = 0; | 43 virtual WebLayer* layer() = 0; |
44 | 44 |
45 virtual void setScrollLayer(WebLayer*) = 0; | 45 virtual void setScrollLayer(WebLayer*) = 0; |
46 // TODO(wjmaclean) Make this pure virtual once https://codereview.chromium.o rg/23983047 lands. | 46 |
47 virtual void setClipLayer(WebLayer*) { } | 47 virtual void setClipLayer(WebLayer*) = 0; |
wjmaclean
2014/01/31 13:38:25
nit: We don't need a blank line between this and t
deepak.sa
2014/02/01 09:15:24
Done.
| |
48 }; | 48 }; |
49 | 49 |
50 } // namespace blink | 50 } // namespace blink |
51 | 51 |
52 #endif // WebScrollbarLayer_h | 52 #endif // WebScrollbarLayer_h |
OLD | NEW |