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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 // Otherwise creates it and then returns. | 310 // Otherwise creates it and then returns. |
311 TextFinder& ensureTextFinder(); | 311 TextFinder& ensureTextFinder(); |
312 | 312 |
313 // Invalidates vertical scrollbar only. | 313 // Invalidates vertical scrollbar only. |
314 void invalidateScrollbar() const; | 314 void invalidateScrollbar() const; |
315 | 315 |
316 // Invalidates both content area and the scrollbar. | 316 // Invalidates both content area and the scrollbar. |
317 void invalidateAll() const; | 317 void invalidateAll() const; |
318 | 318 |
319 // Returns a hit-tested VisiblePosition for the given point | 319 // Returns a hit-tested VisiblePosition for the given point |
320 VisiblePosition visiblePositionForWindowPoint(const WebPoint&); | 320 VisiblePosition visiblePositionForViewportPoint(const WebPoint&); |
321 | 321 |
322 void setFrameWidget(WebFrameWidgetImpl*); | 322 void setFrameWidget(WebFrameWidgetImpl*); |
323 WebFrameWidgetImpl* frameWidget() const; | 323 WebFrameWidgetImpl* frameWidget() const; |
324 | 324 |
325 // DevTools front-end bindings. | 325 // DevTools front-end bindings. |
326 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } | 326 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } |
327 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} | 327 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} |
328 | 328 |
329 #if ENABLE(OILPAN) | 329 #if ENABLE(OILPAN) |
330 DECLARE_TRACE(); | 330 DECLARE_TRACE(); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 GC_PLUGIN_IGNORE("340522") | 384 GC_PLUGIN_IGNORE("340522") |
385 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 385 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
386 #endif | 386 #endif |
387 }; | 387 }; |
388 | 388 |
389 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 389 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
390 | 390 |
391 } // namespace blink | 391 } // namespace blink |
392 | 392 |
393 #endif | 393 #endif |
OLD | NEW |