| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 // Otherwise creates it and then returns. | 311 // Otherwise creates it and then returns. |
| 312 TextFinder& ensureTextFinder(); | 312 TextFinder& ensureTextFinder(); |
| 313 | 313 |
| 314 // Invalidates vertical scrollbar only. | 314 // Invalidates vertical scrollbar only. |
| 315 void invalidateScrollbar() const; | 315 void invalidateScrollbar() const; |
| 316 | 316 |
| 317 // Invalidates both content area and the scrollbar. | 317 // Invalidates both content area and the scrollbar. |
| 318 void invalidateAll() const; | 318 void invalidateAll() const; |
| 319 | 319 |
| 320 // Returns a hit-tested VisiblePosition for the given point | 320 // Returns a hit-tested VisiblePosition for the given point |
| 321 VisiblePosition visiblePositionForWindowPoint(const WebPoint&); | 321 VisiblePosition visiblePositionForViewportPoint(const WebPoint&); |
| 322 | 322 |
| 323 void setFrameWidget(WebFrameWidgetImpl*); | 323 void setFrameWidget(WebFrameWidgetImpl*); |
| 324 WebFrameWidgetImpl* frameWidget() const; | 324 WebFrameWidgetImpl* frameWidget() const; |
| 325 | 325 |
| 326 // DevTools front-end bindings. | 326 // DevTools front-end bindings. |
| 327 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } | 327 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } |
| 328 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} | 328 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} |
| 329 | 329 |
| 330 #if ENABLE(OILPAN) | 330 #if ENABLE(OILPAN) |
| 331 DECLARE_TRACE(); | 331 DECLARE_TRACE(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 GC_PLUGIN_IGNORE("340522") | 385 GC_PLUGIN_IGNORE("340522") |
| 386 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 386 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 387 #endif | 387 #endif |
| 388 }; | 388 }; |
| 389 | 389 |
| 390 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 390 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 391 | 391 |
| 392 } // namespace blink | 392 } // namespace blink |
| 393 | 393 |
| 394 #endif | 394 #endif |
| OLD | NEW |