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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.h

Issue 1940253002: Disallow certain blocking DOM calls during microtask execution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteDOMWindow_h 5 #ifndef RemoteDOMWindow_h
6 #define RemoteDOMWindow_h 6 #define RemoteDOMWindow_h
7 7
8 #include "core/frame/DOMWindow.h" 8 #include "core/frame/DOMWindow.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void setStatus(const String&) override; 48 void setStatus(const String&) override;
49 String defaultStatus() const override; 49 String defaultStatus() const override;
50 void setDefaultStatus(const String&) override; 50 void setDefaultStatus(const String&) override;
51 Document* document() const override; 51 Document* document() const override;
52 StyleMedia* styleMedia() const override; 52 StyleMedia* styleMedia() const override;
53 double devicePixelRatio() const override; 53 double devicePixelRatio() const override;
54 ApplicationCache* applicationCache() const override; 54 ApplicationCache* applicationCache() const override;
55 int orientation() const override; 55 int orientation() const override;
56 DOMSelection* getSelection() override; 56 DOMSelection* getSelection() override;
57 void blur() override; 57 void blur() override;
58 void print() override; 58 void print(ScriptState*) override;
59 void stop() override; 59 void stop() override;
60 void alert(const String& message = String()) override; 60 void alert(ScriptState*, const String& message = String()) override;
61 bool confirm(const String& message) override; 61 bool confirm(ScriptState*, const String& message) override;
62 String prompt(const String& message, const String& defaultValue) override; 62 String prompt(ScriptState*, const String& message, const String& defaultValu e) override;
63 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 63 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
64 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 64 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
65 void scrollBy(const ScrollToOptions&) const override; 65 void scrollBy(const ScrollToOptions&) const override;
66 void scrollTo(double x, double y) const override; 66 void scrollTo(double x, double y) const override;
67 void scrollTo(const ScrollToOptions&) const override; 67 void scrollTo(const ScrollToOptions&) const override;
68 void moveBy(int x, int y) const override; 68 void moveBy(int x, int y) const override;
69 void moveTo(int x, int y) const override; 69 void moveTo(int x, int y) const override;
70 void resizeBy(int x, int y) const override; 70 void resizeBy(int x, int y) const override;
71 void resizeTo(int width, int height) const override; 71 void resizeTo(int width, int height) const override;
72 MediaQueryList* matchMedia(const String&) override; 72 MediaQueryList* matchMedia(const String&) override;
(...skipping 10 matching lines...) Expand all
83 83
84 private: 84 private:
85 explicit RemoteDOMWindow(RemoteFrame&); 85 explicit RemoteDOMWindow(RemoteFrame&);
86 86
87 Member<RemoteFrame> m_frame; 87 Member<RemoteFrame> m_frame;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // DOMWindow_h 92 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698