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

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

Issue 2470503003: Media controls max width is the width of the viewport. (Closed)
Patch Set: dcheck Created 4 years, 1 month 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/LayoutMedia.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutMedia.h b/third_party/WebKit/Source/core/layout/LayoutMedia.h
index 8831d54238de801afa5b911ac62144729684d062..3114190514d7522c21cd0714a93ccb0bf86b41a1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMedia.h
+++ b/third_party/WebKit/Source/core/layout/LayoutMedia.h
@@ -93,6 +93,8 @@ class LayoutMedia : public LayoutImage {
bool backgroundShouldAlwaysBeClipped() const final { return false; }
+ LayoutUnit computePanelWidth(const LayoutRect& mediaWidth) const;
+
LayoutObjectChildList m_children;
};

Powered by Google App Engine
This is Rietveld 408576698