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: WebKit/win/WebScrollBar.h

Issue 3357018: Merge 67018 - Not reviewed, build fix.... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « WebKit/win/ChangeLog ('k') | WebKit/win/WebScrollBar.cpp » ('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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 /* [in] */ WPARAM wParam, 109 /* [in] */ WPARAM wParam,
110 /* [in] */ LPARAM lParam); 110 /* [in] */ LPARAM lParam);
111 111
112 virtual HRESULT STDMETHODCALLTYPE scroll( 112 virtual HRESULT STDMETHODCALLTYPE scroll(
113 /* [in] */ WebScrollDirection direction, 113 /* [in] */ WebScrollDirection direction,
114 /* [in] */ WebScrollGranularity granularity, 114 /* [in] */ WebScrollGranularity granularity,
115 /* [in] */ float multiplier); 115 /* [in] */ float multiplier);
116 116
117 protected: 117 protected:
118 // ScrollbarClient 118 // ScrollbarClient
119 virtual int scrollSize(ScrollbarOrientation orientation) const;
120 virtual void setScrollOffsetFromAnimation(const IntPoint&);
119 virtual void valueChanged(Scrollbar*); 121 virtual void valueChanged(Scrollbar*);
120 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); 122 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&);
121 123
122 // FIXME: We should provide a way to set this value. 124 // FIXME: We should provide a way to set this value.
123 virtual bool isActive() const { return true; } 125 virtual bool isActive() const { return true; }
124 126
125 virtual bool scrollbarCornerPresent() const { return false; } 127 virtual bool scrollbarCornerPresent() const { return false; }
126 128
127 ULONG m_refCount; 129 ULONG m_refCount;
128 HWND m_containingWindow; 130 HWND m_containingWindow;
129 RefPtr<WebCore::Scrollbar> m_scrollBar; 131 RefPtr<WebCore::Scrollbar> m_scrollBar;
130 COMPtr<IWebScrollBarDelegatePrivate> m_delegate; 132 COMPtr<IWebScrollBarDelegatePrivate> m_delegate;
131 }; 133 };
132 134
133 #endif 135 #endif
OLDNEW
« no previous file with comments | « WebKit/win/ChangeLog ('k') | WebKit/win/WebScrollBar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698