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

Side by Side Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.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 * 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
24 */ 24 */
25 25
26 #ifndef ScrollbarThemeClient_h 26 #ifndef ScrollbarThemeClient_h
27 #define ScrollbarThemeClient_h 27 #define ScrollbarThemeClient_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/geometry/IntPoint.h" 30 #include "platform/geometry/IntPoint.h"
31 #include "platform/geometry/IntRect.h" 31 #include "platform/geometry/IntRect.h"
32 #include "platform/geometry/IntSize.h" 32 #include "platform/geometry/IntSize.h"
33 #include "platform/scroll/ScrollTypes.h" 33 #include "platform/scroll/ScrollTypes.h"
34 #include "wtf/PassOwnPtr.h"
35 #include "wtf/Vector.h" 34 #include "wtf/Vector.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
39 class Widget; 38 class Widget;
40 39
41 class PLATFORM_EXPORT ScrollbarThemeClient { 40 class PLATFORM_EXPORT ScrollbarThemeClient {
42 public: 41 public:
43 virtual int x() const = 0; 42 virtual int x() const = 0;
44 virtual int y() const = 0; 43 virtual int y() const = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual float elasticOverscroll() const = 0; 86 virtual float elasticOverscroll() const = 0;
88 virtual void setElasticOverscroll(float) = 0; 87 virtual void setElasticOverscroll(float) = 0;
89 88
90 protected: 89 protected:
91 virtual ~ScrollbarThemeClient() { } 90 virtual ~ScrollbarThemeClient() { }
92 }; 91 };
93 92
94 } // namespace blink 93 } // namespace blink
95 94
96 #endif // ScollbarThemeClient_h 95 #endif // ScollbarThemeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698