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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 1417023006: bindings: Refactors BindingSecurity::shouldAllowAccessToXXX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the assertion condition. Created 5 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/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 318e84d0fa6c73bfb5f7456e7430a67c17bddb5e..4cbd839d0402fccb3aaabcf9717b29e15a2c82a7 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -82,6 +82,7 @@ public:
// EventTarget overrides:
ExecutionContext* executionContext() const override;
+ const LocalDOMWindow* toDOMWindow() const override;
LocalDOMWindow* toDOMWindow() override;
// DOMWindow overrides:
@@ -165,7 +166,7 @@ public:
FrameConsole* frameConsole() const;
- void printErrorMessage(const String&);
+ void printErrorMessage(const String&) const;
void postMessageTimerFired(PostMessageTimer*);
void removePostMessageTimer(PostMessageTimer*);
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698