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

Unified Diff: Source/web/WebScopedWindowFocusAllowedIndicator.cpp

Issue 722423004: Remove WindowFocusAllowedIndicator and associated code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@window_focus
Patch Set: rebase Created 5 years, 8 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: Source/web/WebScopedWindowFocusAllowedIndicator.cpp
diff --git a/Source/web/WebScopedWindowFocusAllowedIndicator.cpp b/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
index 26239b6f59c0d2c221a237fd00ac198fae8a9cd8..fce66f2ee6b8370be17b33379d3b9db80924b3d2 100644
--- a/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
+++ b/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
@@ -33,7 +33,6 @@
#include "core/dom/Document.h"
#include "core/dom/ScopedWindowFocusAllowedIndicator.h"
-#include "core/page/WindowFocusAllowedIndicator.h"
#include "public/web/WebDocument.h"
namespace blink {
@@ -45,14 +44,8 @@ void WebScopedWindowFocusAllowedIndicator::initialize(WebDocument* webDocument)
m_private.reset(new ScopedWindowFocusAllowedIndicator(document));
}
-void WebScopedWindowFocusAllowedIndicator::initialize()
-{
- m_indicator.reset(new WindowFocusAllowedIndicator());
-}
-
void WebScopedWindowFocusAllowedIndicator::reset()
{
- m_indicator.reset(0);
m_private.reset(0);
}

Powered by Google App Engine
This is Rietveld 408576698