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

Side by Side Diff: third_party/WebKit/Source/core/frame/VisualViewport.h

Issue 2723993002: Rename platform/Widget to platform/FrameViewBase in core. (Closed)
Patch Set: Created 3 years, 9 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 IntRect scrollableAreaBoundingBox() const override; 184 IntRect scrollableAreaBoundingBox() const override;
185 bool userInputScrollable(ScrollbarOrientation) const override { return true; } 185 bool userInputScrollable(ScrollbarOrientation) const override { return true; }
186 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } 186 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; }
187 bool scrollAnimatorEnabled() const override; 187 bool scrollAnimatorEnabled() const override;
188 void scrollControlWasSetNeedsPaintInvalidation() override {} 188 void scrollControlWasSetNeedsPaintInvalidation() override {}
189 void updateScrollOffset(const ScrollOffset&, ScrollType) override; 189 void updateScrollOffset(const ScrollOffset&, ScrollType) override;
190 GraphicsLayer* layerForContainer() const override; 190 GraphicsLayer* layerForContainer() const override;
191 GraphicsLayer* layerForScrolling() const override; 191 GraphicsLayer* layerForScrolling() const override;
192 GraphicsLayer* layerForHorizontalScrollbar() const override; 192 GraphicsLayer* layerForHorizontalScrollbar() const override;
193 GraphicsLayer* layerForVerticalScrollbar() const override; 193 GraphicsLayer* layerForVerticalScrollbar() const override;
194 Widget* getWidget() override; 194 FrameViewBase* getWidget() override;
195 CompositorAnimationHost* compositorAnimationHost() const override; 195 CompositorAnimationHost* compositorAnimationHost() const override;
196 CompositorAnimationTimeline* compositorAnimationTimeline() const override; 196 CompositorAnimationTimeline* compositorAnimationTimeline() const override;
197 IntRect visibleContentRect( 197 IntRect visibleContentRect(
198 IncludeScrollbarsInRect = ExcludeScrollbars) const override; 198 IncludeScrollbarsInRect = ExcludeScrollbars) const override;
199 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; 199 RefPtr<WebTaskRunner> getTimerTaskRunner() const final;
200 200
201 // Visual Viewport API implementation. 201 // Visual Viewport API implementation.
202 double scrollLeft(); 202 double scrollLeft();
203 double scrollTop(); 203 double scrollTop();
204 double clientWidth(); 204 double clientWidth();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 float m_scale; 265 float m_scale;
266 IntSize m_size; 266 IntSize m_size;
267 float m_browserControlsAdjustment; 267 float m_browserControlsAdjustment;
268 float m_maxPageScale; 268 float m_maxPageScale;
269 bool m_trackPinchZoomStatsForPage; 269 bool m_trackPinchZoomStatsForPage;
270 }; 270 };
271 271
272 } // namespace blink 272 } // namespace blink
273 273
274 #endif // VisualViewport_h 274 #endif // VisualViewport_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.cpp ('k') | third_party/WebKit/Source/core/frame/VisualViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698