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

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 1162623007: Removed redundant rect methods on FrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/frame/PinchViewport.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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired) 118 , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
119 , m_updateWidgetsTimer(this, &FrameView::updateWidgetsTimerFired) 119 , m_updateWidgetsTimer(this, &FrameView::updateWidgetsTimerFired)
120 , m_isTransparent(false) 120 , m_isTransparent(false)
121 , m_baseBackgroundColor(Color::white) 121 , m_baseBackgroundColor(Color::white)
122 , m_mediaType(MediaTypeNames::screen) 122 , m_mediaType(MediaTypeNames::screen)
123 , m_overflowStatusDirty(true) 123 , m_overflowStatusDirty(true)
124 , m_wasScrolledByUser(false) 124 , m_wasScrolledByUser(false)
125 , m_safeToPropagateScrollToParent(true) 125 , m_safeToPropagateScrollToParent(true)
126 , m_isTrackingPaintInvalidations(false) 126 , m_isTrackingPaintInvalidations(false)
127 , m_scrollCorner(nullptr) 127 , m_scrollCorner(nullptr)
128 , m_visibleContentScaleFactor(1)
129 , m_inputEventsScaleFactorForEmulation(1) 128 , m_inputEventsScaleFactorForEmulation(1)
130 , m_layoutSizeFixedToFrameSize(true) 129 , m_layoutSizeFixedToFrameSize(true)
131 , m_didScrollTimer(this, &FrameView::didScrollTimerFired) 130 , m_didScrollTimer(this, &FrameView::didScrollTimerFired)
132 , m_topControlsViewportAdjustment(0) 131 , m_topControlsViewportAdjustment(0)
133 , m_needsUpdateWidgetPositions(false) 132 , m_needsUpdateWidgetPositions(false)
134 #if ENABLE(ASSERT) 133 #if ENABLE(ASSERT)
135 , m_hasBeenDisposed(false) 134 , m_hasBeenDisposed(false)
136 #endif 135 #endif
137 , m_horizontalScrollbarMode(ScrollbarAuto) 136 , m_horizontalScrollbarMode(ScrollbarAuto)
138 , m_verticalScrollbarMode(ScrollbarAuto) 137 , m_verticalScrollbarMode(ScrollbarAuto)
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 updateScrollbars(scrollOffsetDouble()); 399 updateScrollbars(scrollOffsetDouble());
401 frameRectsChanged(); 400 frameRectsChanged();
402 401
403 updateScrollableAreaSet(); 402 updateScrollableAreaSet();
404 403
405 if (LayoutView* layoutView = this->layoutView()) { 404 if (LayoutView* layoutView = this->layoutView()) {
406 if (layoutView->usesCompositing()) 405 if (layoutView->usesCompositing())
407 layoutView->compositor()->frameViewDidChangeSize(); 406 layoutView->compositor()->frameViewDidChangeSize();
408 } 407 }
409 408
410 viewportConstrainedVisibleContentSizeChanged(newRect.width() != oldRect.widt h(), newRect.height() != oldRect.height()); 409 viewportSizeChanged(newRect.width() != oldRect.width(), newRect.height() != oldRect.height());
411 410
412 if (oldRect.size() != newRect.size() && m_frame->isMainFrame()) 411 if (oldRect.size() != newRect.size() && m_frame->isMainFrame())
413 page()->frameHost().pinchViewport().mainFrameDidChangeSize(); 412 page()->frameHost().pinchViewport().mainFrameDidChangeSize();
414 } 413 }
415 414
416 Page* FrameView::page() const 415 Page* FrameView::page() const
417 { 416 {
418 return frame().page(); 417 return frame().page();
419 } 418 }
420 419
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 return; 509 return;
511 510
512 updateScrollableAreaSet(); 511 updateScrollableAreaSet();
513 512
514 page->chrome().contentsSizeChanged(m_frame.get(), size); 513 page->chrome().contentsSizeChanged(m_frame.get(), size);
515 } 514 }
516 515
517 IntPoint FrameView::clampOffsetAtScale(const IntPoint& offset, float scale) cons t 516 IntPoint FrameView::clampOffsetAtScale(const IntPoint& offset, float scale) cons t
518 { 517 {
519 IntPoint maxScrollExtent(contentsSize().width() - scrollOrigin().x(), conten tsSize().height() - scrollOrigin().y()); 518 IntPoint maxScrollExtent(contentsSize().width() - scrollOrigin().x(), conten tsSize().height() - scrollOrigin().y());
520 FloatSize scaledSize = unscaledVisibleContentSize(); 519 FloatSize scaledSize = visibleContentSize();
521 if (scale) 520 if (scale)
522 scaledSize.scale(1 / scale); 521 scaledSize.scale(1 / scale);
523 522
524 IntPoint clampedOffset = offset; 523 IntPoint clampedOffset = offset;
525 clampedOffset = clampedOffset.shrunkTo(maxScrollExtent - expandedIntSize(sca ledSize)); 524 clampedOffset = clampedOffset.shrunkTo(maxScrollExtent - expandedIntSize(sca ledSize));
526 clampedOffset = clampedOffset.expandedTo(-scrollOrigin()); 525 clampedOffset = clampedOffset.expandedTo(-scrollOrigin());
527 526
528 return clampedOffset; 527 return clampedOffset;
529 } 528 }
530 529
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 void FrameView::removeViewportConstrainedObject(LayoutObject* object) 1267 void FrameView::removeViewportConstrainedObject(LayoutObject* object)
1269 { 1268 {
1270 if (m_viewportConstrainedObjects && m_viewportConstrainedObjects->contains(o bject)) { 1269 if (m_viewportConstrainedObjects && m_viewportConstrainedObjects->contains(o bject)) {
1271 m_viewportConstrainedObjects->remove(object); 1270 m_viewportConstrainedObjects->remove(object);
1272 1271
1273 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordina tor()) 1272 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordina tor())
1274 scrollingCoordinator->frameViewFixedObjectsDidChange(this); 1273 scrollingCoordinator->frameViewFixedObjectsDidChange(this);
1275 } 1274 }
1276 } 1275 }
1277 1276
1278 LayoutRect FrameView::viewportConstrainedVisibleContentRect() const 1277 void FrameView::viewportSizeChanged(bool widthChanged, bool heightChanged)
1279 {
1280 LayoutRect viewportRect = LayoutRect(visibleContentRect());
1281 viewportRect.setLocation(clampScrollPosition(scrollPosition()));
1282 return viewportRect;
1283 }
1284
1285 void FrameView::viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool heightChanged)
1286 { 1278 {
1287 if (!hasViewportConstrainedObjects()) 1279 if (!hasViewportConstrainedObjects())
1288 return; 1280 return;
1289 1281
1290 for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) { 1282 for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) {
1291 LayoutObject* layoutObject = viewportConstrainedObject; 1283 LayoutObject* layoutObject = viewportConstrainedObject;
1292 const ComputedStyle& style = layoutObject->styleRef(); 1284 const ComputedStyle& style = layoutObject->styleRef();
1293 if (widthChanged) { 1285 if (widthChanged) {
1294 if (style.width().isFixed() && (style.left().isAuto() || style.right ().isAuto())) 1286 if (style.width().isFixed() && (style.left().isAuto() || style.right ().isAuto()))
1295 layoutObject->setNeedsPositionedMovementLayout(); 1287 layoutObject->setNeedsPositionedMovementLayout();
1296 else 1288 else
1297 layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInval idationReason::SizeChanged); 1289 layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInval idationReason::SizeChanged);
1298 } 1290 }
1299 if (heightChanged) { 1291 if (heightChanged) {
1300 if (style.height().isFixed() && (style.top().isAuto() || style.botto m().isAuto())) 1292 if (style.height().isFixed() && (style.top().isAuto() || style.botto m().isAuto()))
1301 layoutObject->setNeedsPositionedMovementLayout(); 1293 layoutObject->setNeedsPositionedMovementLayout();
1302 else 1294 else
1303 layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInval idationReason::SizeChanged); 1295 layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInval idationReason::SizeChanged);
1304 } 1296 }
1305 } 1297 }
1306 } 1298 }
1307 1299
1308 IntSize FrameView::scrollOffsetForViewportConstrainedObjects() const
1309 {
1310 return roundedIntSize(viewportConstrainedVisibleContentRect().location());
1311 }
1312
1313 IntPoint FrameView::lastKnownMousePosition() const 1300 IntPoint FrameView::lastKnownMousePosition() const
1314 { 1301 {
1315 return m_frame->eventHandler().lastKnownMousePosition(); 1302 return m_frame->eventHandler().lastKnownMousePosition();
1316 } 1303 }
1317 1304
1318 bool FrameView::shouldSetCursor() const 1305 bool FrameView::shouldSetCursor() const
1319 { 1306 {
1320 Page* page = frame().page(); 1307 Page* page = frame().page();
1321 return page && page->visibilityState() != PageVisibilityStateHidden && page- >focusController().isActive() && page->settings().deviceSupportsMouse(); 1308 return page && page->visibilityState() != PageVisibilityStateHidden && page- >focusController().isActive() && page->settings().deviceSupportsMouse();
1322 } 1309 }
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
2247 } 2234 }
2248 2235
2249 IntRect FrameView::windowResizerRect() const 2236 IntRect FrameView::windowResizerRect() const
2250 { 2237 {
2251 Page* page = frame().page(); 2238 Page* page = frame().page();
2252 if (!page) 2239 if (!page)
2253 return IntRect(); 2240 return IntRect();
2254 return page->chrome().windowResizerRect(); 2241 return page->chrome().windowResizerRect();
2255 } 2242 }
2256 2243
2257 void FrameView::setVisibleContentScaleFactor(float visibleContentScaleFactor)
2258 {
2259 if (m_visibleContentScaleFactor == visibleContentScaleFactor)
2260 return;
2261
2262 m_visibleContentScaleFactor = visibleContentScaleFactor;
2263 updateScrollbars(scrollOffsetDouble());
2264 }
2265
2266 void FrameView::setInputEventsTransformForEmulation(const IntSize& offset, float contentScaleFactor) 2244 void FrameView::setInputEventsTransformForEmulation(const IntSize& offset, float contentScaleFactor)
2267 { 2245 {
2268 m_inputEventsOffsetForEmulation = offset; 2246 m_inputEventsOffsetForEmulation = offset;
2269 m_inputEventsScaleFactorForEmulation = contentScaleFactor; 2247 m_inputEventsScaleFactorForEmulation = contentScaleFactor;
2270 } 2248 }
2271 2249
2272 IntSize FrameView::inputEventsOffsetForEmulation() const 2250 IntSize FrameView::inputEventsOffsetForEmulation() const
2273 { 2251 {
2274 return m_inputEventsOffsetForEmulation; 2252 return m_inputEventsOffsetForEmulation;
2275 } 2253 }
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
3066 3044
3067 void FrameView::setTopControlsViewportAdjustment(float adjustment) 3045 void FrameView::setTopControlsViewportAdjustment(float adjustment)
3068 { 3046 {
3069 m_topControlsViewportAdjustment = adjustment; 3047 m_topControlsViewportAdjustment = adjustment;
3070 } 3048 }
3071 3049
3072 IntPoint FrameView::maximumScrollPosition() const 3050 IntPoint FrameView::maximumScrollPosition() const
3073 { 3051 {
3074 // Make the same calculation as in CC's LayerImpl::MaxScrollOffset() 3052 // Make the same calculation as in CC's LayerImpl::MaxScrollOffset()
3075 // FIXME: We probably shouldn't be storing the bounds in a float. crbug.com/ 422331. 3053 // FIXME: We probably shouldn't be storing the bounds in a float. crbug.com/ 422331.
3076 FloatSize visibleSize = unscaledVisibleContentSize(ExcludeScrollbars); 3054 FloatSize visibleSize = visibleContentSize(ExcludeScrollbars);
3077 visibleSize.expand(0, m_topControlsViewportAdjustment); 3055 visibleSize.expand(0, m_topControlsViewportAdjustment);
3078 3056
3079 FloatSize contentBounds = contentsSize(); 3057 FloatSize contentBounds = contentsSize();
3080 contentBounds.scale(visibleContentScaleFactor());
3081 contentBounds = flooredIntSize(contentBounds); 3058 contentBounds = flooredIntSize(contentBounds);
3082 3059
3083 FloatSize maximumOffset = contentBounds - visibleSize - toIntSize(scrollOrig in()); 3060 FloatSize maximumOffset = contentBounds - visibleSize - toIntSize(scrollOrig in());
3084 3061
3085 // Convert back to CSS pixels.
3086 maximumOffset.scale(1 / visibleContentScaleFactor());
3087
3088 IntPoint snappedMaximumOffset = flooredIntPoint(maximumOffset); 3062 IntPoint snappedMaximumOffset = flooredIntPoint(maximumOffset);
3089 snappedMaximumOffset.clampNegativeToZero(); 3063 snappedMaximumOffset.clampNegativeToZero();
3090 return snappedMaximumOffset; 3064 return snappedMaximumOffset;
3091 } 3065 }
3092 3066
3093 void FrameView::addChild(PassRefPtrWillBeRawPtr<Widget> prpChild) 3067 void FrameView::addChild(PassRefPtrWillBeRawPtr<Widget> prpChild)
3094 { 3068 {
3095 Widget* child = prpChild.get(); 3069 Widget* child = prpChild.get();
3096 ASSERT(child != this && !child->parent()); 3070 ASSERT(child != this && !child->parent());
3097 child->setParent(this); 3071 child->setParent(this);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
3188 if (!layer) 3162 if (!layer)
3189 return; 3163 return;
3190 layer->setUserScrollable(userInputScrollable(HorizontalScrollbar), userInput Scrollable(VerticalScrollbar)); 3164 layer->setUserScrollable(userInputScrollable(HorizontalScrollbar), userInput Scrollable(VerticalScrollbar));
3191 } 3165 }
3192 3166
3193 void FrameView::setClipsRepaints(bool clipsRepaints) 3167 void FrameView::setClipsRepaints(bool clipsRepaints)
3194 { 3168 {
3195 m_clipsRepaints = clipsRepaints; 3169 m_clipsRepaints = clipsRepaints;
3196 } 3170 }
3197 3171
3198 IntSize FrameView::unscaledVisibleContentSize(IncludeScrollbarsInRect scrollbarI nclusion) const 3172 IntSize FrameView::visibleContentSize(IncludeScrollbarsInRect scrollbarInclusion ) const
3199 { 3173 {
3200 return scrollbarInclusion == ExcludeScrollbars ? excludeScrollbars(frameRect ().size()) : frameRect().size(); 3174 return scrollbarInclusion == ExcludeScrollbars ? excludeScrollbars(frameRect ().size()) : frameRect().size();
3201 } 3175 }
3202 3176
3203 IntRect FrameView::visibleContentRect(IncludeScrollbarsInRect scollbarInclusion) const 3177 IntRect FrameView::visibleContentRect(IncludeScrollbarsInRect scrollbarInclusion ) const
3204 { 3178 {
3205 FloatSize visibleContentSize = unscaledVisibleContentSize(scollbarInclusion) ; 3179 return IntRect(flooredIntPoint(m_scrollPosition), visibleContentSize(scrollb arInclusion));
3206 visibleContentSize.scale(1 / visibleContentScaleFactor());
3207 return IntRect(flooredIntPoint(m_scrollPosition), expandedIntSize(visibleCon tentSize));
3208 } 3180 }
3209 3181
3210 IntSize FrameView::contentsSize() const 3182 IntSize FrameView::contentsSize() const
3211 { 3183 {
3212 return m_contentsSize; 3184 return m_contentsSize;
3213 } 3185 }
3214 3186
3215 IntPoint FrameView::minimumScrollPosition() const 3187 IntPoint FrameView::minimumScrollPosition() const
3216 { 3188 {
3217 return IntPoint(-scrollOrigin().x(), -scrollOrigin().y()); 3189 return IntPoint(-scrollOrigin().x(), -scrollOrigin().y());
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3436 { 3408 {
3437 if (scrollbarsDisabled()) { 3409 if (scrollbarsDisabled()) {
3438 setScrollOffsetFromUpdateScrollbars(desiredOffset); 3410 setScrollOffsetFromUpdateScrollbars(desiredOffset);
3439 return; 3411 return;
3440 } 3412 }
3441 3413
3442 if (m_inUpdateScrollbars) 3414 if (m_inUpdateScrollbars)
3443 return; 3415 return;
3444 InUpdateScrollbarsScope inUpdateScrollbarsScope(this); 3416 InUpdateScrollbarsScope inUpdateScrollbarsScope(this);
3445 3417
3446 IntSize oldVisibleSize = visibleSize(); 3418 IntSize oldVisibleSize = visibleContentSize();
3447 3419
3448 bool scrollbarExistenceChanged = false; 3420 bool scrollbarExistenceChanged = false;
3449 3421
3450 if (needsScrollbarReconstruction()) { 3422 if (needsScrollbarReconstruction()) {
3451 setHasHorizontalScrollbar(false); 3423 setHasHorizontalScrollbar(false);
3452 setHasVerticalScrollbar(false); 3424 setHasVerticalScrollbar(false);
3453 scrollbarExistenceChanged = true; 3425 scrollbarExistenceChanged = true;
3454 } 3426 }
3455 3427
3456 int maxUpdateScrollbarsPass = hasOverlayScrollbars() || m_scrollbarsSuppress ed ? 1 : 3; 3428 int maxUpdateScrollbarsPass = hasOverlayScrollbars() || m_scrollbarsSuppress ed ? 1 : 3;
3457 for (int updateScrollbarsPass = 0; updateScrollbarsPass < maxUpdateScrollbar sPass; updateScrollbarsPass++) { 3429 for (int updateScrollbarsPass = 0; updateScrollbarsPass < maxUpdateScrollbar sPass; updateScrollbarsPass++) {
3458 if (!adjustScrollbarExistence(updateScrollbarsPass ? Incremental : First Pass)) 3430 if (!adjustScrollbarExistence(updateScrollbarsPass ? Incremental : First Pass))
3459 break; 3431 break;
3460 scrollbarExistenceChanged = true; 3432 scrollbarExistenceChanged = true;
3461 } 3433 }
3462 3434
3463 updateScrollbarGeometry(); 3435 updateScrollbarGeometry();
3464 3436
3465 if (scrollbarExistenceChanged) { 3437 if (scrollbarExistenceChanged) {
3466 // FIXME: Is frameRectsChanged really necessary here? Have any frame rec ts changed? 3438 // FIXME: Is frameRectsChanged really necessary here? Have any frame rec ts changed?
3467 frameRectsChanged(); 3439 frameRectsChanged();
3468 positionScrollbarLayers(); 3440 positionScrollbarLayers();
3469 updateScrollCorner(); 3441 updateScrollCorner();
3470 } 3442 }
3471 3443
3472 // FIXME: We don't need to do this if we are composited. 3444 // FIXME: We don't need to do this if we are composited.
3473 IntSize newVisibleSize = visibleSize(); 3445 IntSize newVisibleSize = visibleContentSize();
3474 if (newVisibleSize.width() > oldVisibleSize.width()) { 3446 if (newVisibleSize.width() > oldVisibleSize.width()) {
3475 if (shouldPlaceVerticalScrollbarOnLeft()) 3447 if (shouldPlaceVerticalScrollbarOnLeft())
3476 invalidateRect(IntRect(0, 0, newVisibleSize.width() - oldVisibleSize .width(), newVisibleSize.height())); 3448 invalidateRect(IntRect(0, 0, newVisibleSize.width() - oldVisibleSize .width(), newVisibleSize.height()));
3477 else 3449 else
3478 invalidateRect(IntRect(oldVisibleSize.width(), 0, newVisibleSize.wid th() - oldVisibleSize.width(), newVisibleSize.height())); 3450 invalidateRect(IntRect(oldVisibleSize.width(), 0, newVisibleSize.wid th() - oldVisibleSize.width(), newVisibleSize.height()));
3479 } 3451 }
3480 if (newVisibleSize.height() > oldVisibleSize.height()) 3452 if (newVisibleSize.height() > oldVisibleSize.height())
3481 invalidateRect(IntRect(0, oldVisibleSize.height(), newVisibleSize.width( ), newVisibleSize.height() - oldVisibleSize.height())); 3453 invalidateRect(IntRect(0, oldVisibleSize.height(), newVisibleSize.width( ), newVisibleSize.height() - oldVisibleSize.height()));
3482 3454
3483 setScrollOffsetFromUpdateScrollbars(desiredOffset); 3455 setScrollOffsetFromUpdateScrollbars(desiredOffset);
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
4050 4022
4051 if (!graphicsLayer) 4023 if (!graphicsLayer)
4052 return; 4024 return;
4053 4025
4054 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL ayoutObject(), paintInvalidationContainer, viewRect); 4026 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL ayoutObject(), paintInvalidationContainer, viewRect);
4055 4027
4056 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing IntRect(viewRect))); 4028 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing IntRect(viewRect)));
4057 } 4029 }
4058 4030
4059 } // namespace blink 4031 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/frame/PinchViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698