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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 25 matching lines...) Expand all
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class Scrollbar; 39 class Scrollbar;
40 class PLATFORM_EXPORT WebScrollbarImpl final : public WebScrollbar { 40 class PLATFORM_EXPORT WebScrollbarImpl final : public WebScrollbar {
41 USING_FAST_MALLOC(WebScrollbarImpl); 41 USING_FAST_MALLOC(WebScrollbarImpl);
42 WTF_MAKE_NONCOPYABLE(WebScrollbarImpl); 42 WTF_MAKE_NONCOPYABLE(WebScrollbarImpl);
43 43
44 public: 44 public:
45 static std::unique_ptr<WebScrollbarImpl> create(Scrollbar* scrollbar) { 45 static std::unique_ptr<WebScrollbarImpl> create(Scrollbar* scrollbar) {
46 return wrapUnique(new WebScrollbarImpl(scrollbar)); 46 return WTF::wrapUnique(new WebScrollbarImpl(scrollbar));
47 } 47 }
48 48
49 // Implement WebScrollbar methods 49 // Implement WebScrollbar methods
50 bool isOverlay() const override; 50 bool isOverlay() const override;
51 int value() const override; 51 int value() const override;
52 WebPoint location() const override; 52 WebPoint location() const override;
53 WebSize size() const override; 53 WebSize size() const override;
54 bool enabled() const override; 54 bool enabled() const override;
55 int maximum() const override; 55 int maximum() const override;
56 int totalSize() const override; 56 int totalSize() const override;
(...skipping 11 matching lines...) Expand all
68 68
69 private: 69 private:
70 explicit WebScrollbarImpl(Scrollbar*); 70 explicit WebScrollbarImpl(Scrollbar*);
71 71
72 Persistent<Scrollbar> m_scrollbar; 72 Persistent<Scrollbar> m_scrollbar;
73 }; 73 };
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif 77 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698