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

Side by Side Diff: third_party/WebKit/public/platform/WebScrollbar.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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
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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #ifndef WebScrollbar_h 25 #ifndef WebScrollbar_h
26 #define WebScrollbar_h 26 #define WebScrollbar_h
27 27
28 #include "WebPoint.h" 28 #include "WebPoint.h"
29 #include "WebRect.h" 29 #include "WebRect.h"
30 #include "WebSize.h" 30 #include "WebSize.h"
31 #include "WebVector.h" 31 #include "WebVector.h"
32 #if INSIDE_BLINK
33 #include "wtf/PassOwnPtr.h"
34 #endif
35 32
36 namespace blink { 33 namespace blink {
37 34
38 // A const accessor interface for a WebKit scrollbar 35 // A const accessor interface for a WebKit scrollbar
39 class BLINK_PLATFORM_EXPORT WebScrollbar { 36 class BLINK_PLATFORM_EXPORT WebScrollbar {
40 public: 37 public:
41 enum Orientation { 38 enum Orientation {
42 Horizontal, 39 Horizontal,
43 Vertical 40 Vertical
44 }; 41 };
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual bool isCustomScrollbar() const = 0; 99 virtual bool isCustomScrollbar() const = 0;
103 virtual Orientation orientation() const = 0; 100 virtual Orientation orientation() const = 0;
104 virtual bool isLeftSideVerticalScrollbar() const = 0; 101 virtual bool isLeftSideVerticalScrollbar() const = 0;
105 virtual float elasticOverscroll() const = 0; 102 virtual float elasticOverscroll() const = 0;
106 virtual void setElasticOverscroll(float) = 0; 103 virtual void setElasticOverscroll(float) = 0;
107 }; 104 };
108 105
109 } // namespace blink 106 } // namespace blink
110 107
111 #endif 108 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebPrivateOwnPtr.h ('k') | third_party/WebKit/public/platform/WebTaskRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698