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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2107233002: Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new untested DCHECK Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 631a6a150e246bb2782e63120f5c84cdc5600211..c1938cd2d57be1dcf50062eb9afc9b17243722da 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -422,8 +422,8 @@ public:
// IE extensions. Used to calculate offsetWidth/Height. Overridden by inlines (LayoutFlow)
// to return the remaining width on a given line (and the height of a single line).
- LayoutUnit offsetWidth() const override { return m_frameRect.width(); }
- LayoutUnit offsetHeight() const override { return m_frameRect.height(); }
+ LayoutUnit offsetWidth() const final { return m_frameRect.width(); }
+ LayoutUnit offsetHeight() const final { return m_frameRect.height(); }
int pixelSnappedOffsetWidth(const Element*) const final;
int pixelSnappedOffsetHeight(const Element*) const final;
@@ -836,8 +836,8 @@ public:
LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
- LayoutUnit offsetLeft(const Element*) const override;
- LayoutUnit offsetTop(const Element*) const override;
+ LayoutUnit offsetLeft(const Element*) const final;
+ LayoutUnit offsetTop(const Element*) const final;
LayoutPoint flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint&) const;
LayoutUnit flipForWritingMode(LayoutUnit position) const WARN_UNUSED_RETURN {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFullScreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698