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

Unified Diff: Source/core/dom/ExecutionContext.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/core/core.gypi ('k') | Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ExecutionContext.h
===================================================================
--- Source/core/dom/ExecutionContext.h (revision 187183)
+++ Source/core/dom/ExecutionContext.h (working copy)
@@ -133,10 +133,6 @@
virtual EventTarget* errorEventTarget() = 0;
virtual EventQueue* eventQueue() const = 0;
- void allowWindowFocus();
- void consumeWindowFocus();
- bool isWindowFocusAllowed() const;
-
protected:
ExecutionContext();
virtual ~ExecutionContext();
@@ -181,12 +177,6 @@
// ExecutionContext's members (notably m_timeouts) is called before they are destructed,
// m_lifecycleNotifer should be placed *after* such members.
OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier;
-
- // Counter that keeps track of how many window focus calls are allowed for
- // this ExecutionContext. Callers are expected to call |allowWindowFocus()|
- // and |consumeWindowFocus()| in order to increment and decrement the
- // counter.
- int m_windowFocusTokens;
};
} // namespace blink
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698