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

Side by Side Diff: Source/WebKit/chromium/src/ScrollbarGroup.h

Issue 16982005: Allow objects without scrollbars to be scrollable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CR Fixes Created 7 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE; 67 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE;
68 virtual int visibleHeight() const OVERRIDE; 68 virtual int visibleHeight() const OVERRIDE;
69 virtual int visibleWidth() const OVERRIDE; 69 virtual int visibleWidth() const OVERRIDE;
70 virtual WebCore::IntSize contentsSize() const OVERRIDE; 70 virtual WebCore::IntSize contentsSize() const OVERRIDE;
71 virtual WebCore::IntSize overhangAmount() const OVERRIDE; 71 virtual WebCore::IntSize overhangAmount() const OVERRIDE;
72 virtual WebCore::IntPoint lastKnownMousePosition() const OVERRIDE; 72 virtual WebCore::IntPoint lastKnownMousePosition() const OVERRIDE;
73 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; 73 virtual bool shouldSuspendScrollAnimations() const OVERRIDE;
74 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; 74 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE;
75 virtual bool scrollbarsCanBeActive() const OVERRIDE; 75 virtual bool scrollbarsCanBeActive() const OVERRIDE;
76 virtual WebCore::IntRect scrollableAreaBoundingBox() const OVERRIDE; 76 virtual WebCore::IntRect scrollableAreaBoundingBox() const OVERRIDE;
77 virtual bool userInputScrollable(WebCore::ScrollbarOrientation) const OVERRI DE;
77 78
78 private: 79 private:
79 WebCore::FrameView* m_frameView; 80 WebCore::FrameView* m_frameView;
80 WebCore::IntPoint m_lastMousePosition; 81 WebCore::IntPoint m_lastMousePosition;
81 WebCore::IntRect m_frameRect; 82 WebCore::IntRect m_frameRect;
82 WebPluginScrollbarImpl* m_horizontalScrollbar; 83 WebPluginScrollbarImpl* m_horizontalScrollbar;
83 WebPluginScrollbarImpl* m_verticalScrollbar; 84 WebPluginScrollbarImpl* m_verticalScrollbar;
84 }; 85 };
85 86
86 } // namespace WebKit 87 } // namespace WebKit
87 88
88 #endif 89 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/ScrollbarGroup.cpp » ('j') | Source/core/platform/ScrollableArea.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698