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

Unified Diff: Source/core/dom/ExecutionContext.h

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Null-check in History.cpp Created 5 years, 11 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
« no previous file with comments | « Source/core/dom/Document.cpp ('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
diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h
index 00e4bb4154047454c5dde7314fee58ab6783e0e2..8c883f81e7832874f3165d0cc2210589d7ea5a14 100644
--- a/Source/core/dom/ExecutionContext.h
+++ b/Source/core/dom/ExecutionContext.h
@@ -29,7 +29,6 @@
#define ExecutionContext_h
#include "core/dom/ActiveDOMObject.h"
-#include "core/dom/SandboxFlags.h"
#include "core/dom/SecurityContext.h"
#include "core/fetch/CrossOriginAccessControl.h"
#include "core/frame/ConsoleTypes.h"
@@ -68,7 +67,6 @@ public:
virtual bool isJSExecutionForbidden() const { return false; }
SecurityOrigin* securityOrigin();
ContentSecurityPolicy* contentSecurityPolicy();
- virtual void didUpdateSecurityOrigin() = 0;
const KURL& url() const;
KURL completeURL(const String& url) const;
virtual void disableEval(const String& errorMessage) = 0;
@@ -124,10 +122,6 @@ public:
int timerNestingLevel() { return m_timerNestingLevel; }
void setTimerNestingLevel(int level) { m_timerNestingLevel = level; }
- SandboxFlags sandboxFlags() const { return m_sandboxFlags; }
- bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; }
- void enforceSandboxFlags(SandboxFlags mask);
-
PassOwnPtr<LifecycleNotifier<ExecutionContext> > createLifecycleNotifier();
virtual EventTarget* errorEventTarget() = 0;
@@ -164,8 +158,6 @@ private:
int installNewTimeout(PassOwnPtr<ScheduledAction>, int timeout, bool singleShot);
void removeTimeoutByID(int timeoutID); // This makes underlying DOMTimer instance destructed.
- SandboxFlags m_sandboxFlags;
-
int m_circularSequentialID;
typedef WillBeHeapHashMap<int, RefPtrWillBeMember<DOMTimer> > TimeoutMap;
TimeoutMap m_timeouts;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698