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

Unified Diff: public/web/WebScopedWindowFocusAllowedIndicator.h

Issue 804163002: Revert 186849 "Bind Window focus ability to the ExecutionContext..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2250/
Patch Set: Created 6 years 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
« no previous file with comments | « Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebScopedWindowFocusAllowedIndicator.h
===================================================================
--- public/web/WebScopedWindowFocusAllowedIndicator.h (revision 187183)
+++ public/web/WebScopedWindowFocusAllowedIndicator.h (working copy)
@@ -35,27 +35,18 @@
namespace blink {
-class ScopedWindowFocusAllowedIndicator;
-class WebDocument;
class WindowFocusAllowedIndicator;
class WebScopedWindowFocusAllowedIndicator {
public:
- explicit WebScopedWindowFocusAllowedIndicator(WebDocument* document) { initialize(document); }
- // FIXME: this constructor is now deprecated. It will be removed as part of
- // https://crbug.com/440740
WebScopedWindowFocusAllowedIndicator() { initialize(); }
~WebScopedWindowFocusAllowedIndicator() { reset(); }
private:
- BLINK_EXPORT void initialize(WebDocument*);
BLINK_EXPORT void initialize();
BLINK_EXPORT void reset();
- // FIXME: m_indicator is now deprecated. It will be removed as part of
- // https://crbug.com/440740
WebPrivateOwnPtr<WindowFocusAllowedIndicator> m_indicator;
- WebPrivateOwnPtr<ScopedWindowFocusAllowedIndicator> m_private;
};
}
« no previous file with comments | « Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698