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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.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/api/LayoutFullScreenItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.h b/third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.h
deleted file mode 100644
index 87413b23d46f6b8799751e905058de1bbba1f2c4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.h
+++ /dev/null
@@ -1,43 +0,0 @@
-
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef LayoutFullScreenItem_h
-#define LayoutFullScreenItem_h
-
-#include "core/layout/LayoutBlock.h"
-#include "core/layout/api/LayoutBlockItem.h"
-
-namespace blink {
-
-class LayoutFullScreenItem : public LayoutBlockItem {
-public:
- explicit LayoutFullScreenItem(LayoutBlock* layoutBlock)
- : LayoutBlockItem(layoutBlock)
- {
- }
-
- explicit LayoutFullScreenItem(const LayoutBlockItem& item)
- : LayoutBlockItem(item)
- {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isLayoutFullScreen());
- }
-
- explicit LayoutFullScreenItem(std::nullptr_t) : LayoutBlockItem(nullptr) { }
-
- LayoutFullScreenItem() { }
-
- void unwrapLayoutObject()
- {
- return toFullScreen()->unwrapLayoutObject();
- }
-
-private:
- LayoutFullScreen* toFullScreen() { return toLayoutFullScreen(layoutObject()); }
- const LayoutFullScreen* toFullScreen() const { return toLayoutFullScreen(layoutObject()); }
-};
-
-} // namespace blink
-
-#endif // LayoutFullScreenItem_h
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutVideo.cpp ('k') | third_party/WebKit/Source/core/layout/api/LayoutItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698