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

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

Issue 951303003: Added basic client hints support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed expected files Created 5 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
« no previous file with comments | « Source/core/fetch/ResourceFetcherTest.cpp ('k') | Source/core/frame/FrameView.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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 void notifyPageThatContentAreaWillPaint() const; 542 void notifyPageThatContentAreaWillPaint() const;
543 FrameView* parentFrameView() const; 543 FrameView* parentFrameView() const;
544 544
545 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR ect& verticalOverhangRect); 545 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR ect& verticalOverhangRect);
546 546
547 // Returns the scrollable area for the frame. 547 // Returns the scrollable area for the frame.
548 ScrollableArea* scrollableArea(); 548 ScrollableArea* scrollableArea();
549 549
550 void lineLayoutTime(double ms); 550 void lineLayoutTime(double ms);
551 551
552 int viewportWidth() const;
553
552 protected: 554 protected:
553 // Scroll the content via the compositor. 555 // Scroll the content via the compositor.
554 bool scrollContentsFastPath(const IntSize& scrollDelta); 556 bool scrollContentsFastPath(const IntSize& scrollDelta);
555 557
556 // Scroll the content by invalidating everything. 558 // Scroll the content by invalidating everything.
557 void scrollContentsSlowPath(const IntRect& updateRect); 559 void scrollContentsSlowPath(const IntRect& updateRect);
558 560
559 bool isVerticalDocument() const; 561 bool isVerticalDocument() const;
560 bool isFlippedDocument() const; 562 bool isFlippedDocument() const;
561 563
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 static const unsigned visualPixelThreshold = 32 * 32; 846 static const unsigned visualPixelThreshold = 32 * 32;
845 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 847 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
846 setIsVisuallyNonEmpty(); 848 setIsVisuallyNonEmpty();
847 } 849 }
848 850
849 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 851 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
850 852
851 } // namespace blink 853 } // namespace blink
852 854
853 #endif // FrameView_h 855 #endif // FrameView_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcherTest.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698