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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.h

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/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 d0f264efa329b51e417c03f7f38f47a0ce8615c8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/api/LayoutFullScreenItem.h
+++ /dev/null
@@ -1,41 +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) {
- SECURITY_DCHECK(!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