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

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

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « public/platform/WebScrollOffsetAnimationCurve.h ('k') | public/platform/WebScrollbarLayer.h » ('j') | 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 * 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 16 matching lines...) Expand all
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 32 #if INSIDE_BLINK
33 #include "wtf/PassOwnPtr.h" 33 #include "wtf/PassOwnPtr.h"
34 #endif 34 #endif
35 35
36 namespace blink { 36 namespace blink {
37 class Scrollbar;
38 }
39
40 namespace blink {
41 37
42 // A const accessor interface for a WebKit scrollbar 38 // A const accessor interface for a WebKit scrollbar
43 class BLINK_PLATFORM_EXPORT WebScrollbar { 39 class BLINK_PLATFORM_EXPORT WebScrollbar {
44 public: 40 public:
45 enum Orientation { 41 enum Orientation {
46 Horizontal, 42 Horizontal,
47 Vertical 43 Vertical
48 }; 44 };
49 45
50 enum ScrollDirection { 46 enum ScrollDirection {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual bool isCustomScrollbar() const = 0; 103 virtual bool isCustomScrollbar() const = 0;
108 virtual Orientation orientation() const = 0; 104 virtual Orientation orientation() const = 0;
109 virtual bool isLeftSideVerticalScrollbar() const = 0; 105 virtual bool isLeftSideVerticalScrollbar() const = 0;
110 virtual bool isAlphaLocked() const { return false; } 106 virtual bool isAlphaLocked() const { return false; }
111 virtual void setIsAlphaLocked(bool) { } 107 virtual void setIsAlphaLocked(bool) { }
112 }; 108 };
113 109
114 } // namespace blink 110 } // namespace blink
115 111
116 #endif 112 #endif
OLDNEW
« no previous file with comments | « public/platform/WebScrollOffsetAnimationCurve.h ('k') | public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698