| 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 DOMWindow_h | 5 #ifndef DOMWindow_h |
| 6 #define DOMWindow_h | 6 #define DOMWindow_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/events/EventTarget.h" | 9 #include "core/events/EventTarget.h" |
| 10 #include "core/frame/DOMWindowBase64.h" | 10 #include "core/frame/DOMWindowBase64.h" |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual int orientation() const = 0; | 128 virtual int orientation() const = 0; |
| 129 | 129 |
| 130 virtual Console* console() const = 0; | 130 virtual Console* console() const = 0; |
| 131 | 131 |
| 132 virtual DOMWindowCSS* css() const = 0; | 132 virtual DOMWindowCSS* css() const = 0; |
| 133 | 133 |
| 134 virtual DOMSelection* getSelection() = 0; | 134 virtual DOMSelection* getSelection() = 0; |
| 135 | 135 |
| 136 virtual void focus(ExecutionContext*) = 0; | 136 virtual void focus(ExecutionContext*) = 0; |
| 137 virtual void blur() = 0; | 137 virtual void blur() = 0; |
| 138 virtual void close(ExecutionContext*) = 0; | 138 void close(ExecutionContext*); |
| 139 virtual void print() = 0; | 139 virtual void print() = 0; |
| 140 virtual void stop() = 0; | 140 virtual void stop() = 0; |
| 141 | 141 |
| 142 virtual void alert(const String& message = String()) = 0; | 142 virtual void alert(const String& message = String()) = 0; |
| 143 virtual bool confirm(const String& message) = 0; | 143 virtual bool confirm(const String& message) = 0; |
| 144 virtual String prompt(const String& message, const String& defaultValue) = 0
; | 144 virtual String prompt(const String& message, const String& defaultValue) = 0
; |
| 145 | 145 |
| 146 virtual bool find(const String&, bool caseSensitive, bool backwards, bool wr
ap, bool wholeWord, bool searchInFrames, bool showDialog) const = 0; | 146 virtual bool find(const String&, bool caseSensitive, bool backwards, bool wr
ap, bool wholeWord, bool searchInFrames, bool showDialog) const = 0; |
| 147 | 147 |
| 148 virtual void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAut
o) const = 0; | 148 virtual void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAut
o) const = 0; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // implementation details to scripts. | 229 // implementation details to scripts. |
| 230 bool m_windowIsClosing; | 230 bool m_windowIsClosing; |
| 231 | 231 |
| 232 private: | 232 private: |
| 233 mutable RefPtrWillBeMember<Location> m_location; | 233 mutable RefPtrWillBeMember<Location> m_location; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace blink | 236 } // namespace blink |
| 237 | 237 |
| 238 #endif // DOMWindow_h | 238 #endif // DOMWindow_h |
| OLD | NEW |