| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void setStatus(const String&) override; | 112 void setStatus(const String&) override; |
| 113 String defaultStatus() const override; | 113 String defaultStatus() const override; |
| 114 void setDefaultStatus(const String&) override; | 114 void setDefaultStatus(const String&) override; |
| 115 Document* document() const override; | 115 Document* document() const override; |
| 116 StyleMedia* styleMedia() const override; | 116 StyleMedia* styleMedia() const override; |
| 117 double devicePixelRatio() const override; | 117 double devicePixelRatio() const override; |
| 118 ApplicationCache* applicationCache() const override; | 118 ApplicationCache* applicationCache() const override; |
| 119 int orientation() const override; | 119 int orientation() const override; |
| 120 DOMSelection* getSelection() override; | 120 DOMSelection* getSelection() override; |
| 121 void blur() override; | 121 void blur() override; |
| 122 void print() override; | 122 void print(ScriptState*) override; |
| 123 void stop() override; | 123 void stop() override; |
| 124 void alert(const String& message = String()) override; | 124 void alert(ScriptState*, const String& message = String()) override; |
| 125 bool confirm(const String& message) override; | 125 bool confirm(ScriptState*, const String& message) override; |
| 126 String prompt(const String& message, const String& defaultValue) override; | 126 String prompt(ScriptState*, const String& message, const String& defaultValu
e) override; |
| 127 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; | 127 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; |
| 128 | 128 |
| 129 // FIXME: ScrollBehaviorSmooth is currently unsupported in VisualViewport. | 129 // FIXME: ScrollBehaviorSmooth is currently unsupported in VisualViewport. |
| 130 // crbug.com/434497 | 130 // crbug.com/434497 |
| 131 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const
override; | 131 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const
override; |
| 132 void scrollBy(const ScrollToOptions&) const override; | 132 void scrollBy(const ScrollToOptions&) const override; |
| 133 void scrollTo(double x, double y) const override; | 133 void scrollTo(double x, double y) const override; |
| 134 void scrollTo(const ScrollToOptions&) const override; | 134 void scrollTo(const ScrollToOptions&) const override; |
| 135 | 135 |
| 136 void moveBy(int x, int y) const override; | 136 void moveBy(int x, int y) const override; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 } | 257 } |
| 258 | 258 |
| 259 inline String LocalDOMWindow::defaultStatus() const | 259 inline String LocalDOMWindow::defaultStatus() const |
| 260 { | 260 { |
| 261 return m_defaultStatus; | 261 return m_defaultStatus; |
| 262 } | 262 } |
| 263 | 263 |
| 264 } // namespace blink | 264 } // namespace blink |
| 265 | 265 |
| 266 #endif // LocalDOMWindow_h | 266 #endif // LocalDOMWindow_h |
| OLD | NEW |