| OLD | NEW |
| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Console* console() const override; | 56 Console* console() const override; |
| 57 DOMSelection* getSelection() override; | 57 DOMSelection* getSelection() override; |
| 58 void focus(ExecutionContext* = 0) override; | 58 void focus(ExecutionContext* = 0) override; |
| 59 void blur() override; | 59 void blur() override; |
| 60 void close(ExecutionContext* = 0) override; | |
| 61 void print() override; | 60 void print() override; |
| 62 void stop() override; | 61 void stop() override; |
| 63 void alert(const String& message = String()) override; | 62 void alert(const String& message = String()) override; |
| 64 bool confirm(const String& message) override; | 63 bool confirm(const String& message) override; |
| 65 String prompt(const String& message, const String& defaultValue) override; | 64 String prompt(const String& message, const String& defaultValue) override; |
| 66 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; | 65 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; |
| 67 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const
override; | 66 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const
override; |
| 68 void scrollBy(const ScrollToOptions&) const override; | 67 void scrollBy(const ScrollToOptions&) const override; |
| 69 void scrollTo(double x, double y) const override; | 68 void scrollTo(double x, double y) const override; |
| 70 void scrollTo(const ScrollToOptions&) const override; | 69 void scrollTo(const ScrollToOptions&) const override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 81 | 80 |
| 82 private: | 81 private: |
| 83 explicit RemoteDOMWindow(RemoteFrame&); | 82 explicit RemoteDOMWindow(RemoteFrame&); |
| 84 | 83 |
| 85 RawPtrWillBeMember<RemoteFrame> m_frame; | 84 RawPtrWillBeMember<RemoteFrame> m_frame; |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace blink | 87 } // namespace blink |
| 89 | 88 |
| 90 #endif // DOMWindow_h | 89 #endif // DOMWindow_h |
| OLD | NEW |