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

Side by Side Diff: public/platform/WebScrollbarLayer.h

Issue 138453004: Pinch/Zoom Infrastructure & Plumbing CL (Prequel) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Initial plumbing for Blink side of PZ Infrastructure. Created 6 years, 11 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 | Annotate | Revision Log
« Source/web/PinchViewports.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * 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
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.
47 virtual void setClipLayer(WebLayer*) { }
46 }; 48 };
47 49
48 } // namespace blink 50 } // namespace blink
49 51
50 #endif // WebScrollbarLayer_h 52 #endif // WebScrollbarLayer_h
OLDNEW
« Source/web/PinchViewports.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698