| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 bool find(const String&, | 188 bool find(const String&, |
| 189 bool case_sensitive, | 189 bool case_sensitive, |
| 190 bool backwards, | 190 bool backwards, |
| 191 bool wrap, | 191 bool wrap, |
| 192 bool whole_word, | 192 bool whole_word, |
| 193 bool search_in_frames, | 193 bool search_in_frames, |
| 194 bool show_dialog) const; | 194 bool show_dialog) const; |
| 195 | 195 |
| 196 // FIXME: ScrollBehaviorSmooth is currently unsupported in VisualViewport. | 196 // FIXME: ScrollBehaviorSmooth is currently unsupported in VisualViewport. |
| 197 // crbug.com/434497 | 197 // crbug.com/434497 |
| 198 void scrollViewportTo(ScrollableArea*, | |
| 199 const ScrollOffset&, | |
| 200 ScrollBehavior) const; | |
| 201 void scrollBy(double x, double y, ScrollBehavior = kScrollBehaviorAuto) const; | 198 void scrollBy(double x, double y, ScrollBehavior = kScrollBehaviorAuto) const; |
| 202 void scrollBy(const ScrollToOptions&) const; | 199 void scrollBy(const ScrollToOptions&) const; |
| 203 void scrollTo(double x, double y) const; | 200 void scrollTo(double x, double y) const; |
| 204 void scrollTo(const ScrollToOptions&) const; | 201 void scrollTo(const ScrollToOptions&) const; |
| 205 void scroll(double x, double y) const { scrollTo(x, y); } | 202 void scroll(double x, double y) const { scrollTo(x, y); } |
| 206 void scroll(const ScrollToOptions& scroll_to_options) const { | 203 void scroll(const ScrollToOptions& scroll_to_options) const { |
| 207 scrollTo(scroll_to_options); | 204 scrollTo(scroll_to_options); |
| 208 } | 205 } |
| 209 void moveBy(int x, int y) const; | 206 void moveBy(int x, int y) const; |
| 210 void moveTo(int x, int y) const; | 207 void moveTo(int x, int y) const; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 return status_; | 385 return status_; |
| 389 } | 386 } |
| 390 | 387 |
| 391 inline String LocalDOMWindow::defaultStatus() const { | 388 inline String LocalDOMWindow::defaultStatus() const { |
| 392 return default_status_; | 389 return default_status_; |
| 393 } | 390 } |
| 394 | 391 |
| 395 } // namespace blink | 392 } // namespace blink |
| 396 | 393 |
| 397 #endif // LocalDOMWindow_h | 394 #endif // LocalDOMWindow_h |
| OLD | NEW |