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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret
urn m_sharedWorkerRepositoryClient.get(); } | 314 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret
urn m_sharedWorkerRepositoryClient.get(); } |
315 | 315 |
316 void setInputEventsTransformForEmulation(const IntSize&, float); | 316 void setInputEventsTransformForEmulation(const IntSize&, float); |
317 | 317 |
318 static void selectWordAroundPosition(LocalFrame*, VisiblePosition); | 318 static void selectWordAroundPosition(LocalFrame*, VisiblePosition); |
319 | 319 |
320 // Returns the text finder object if it already exists. | 320 // Returns the text finder object if it already exists. |
321 // Otherwise creates it and then returns. | 321 // Otherwise creates it and then returns. |
322 TextFinder& ensureTextFinder(); | 322 TextFinder& ensureTextFinder(); |
323 | 323 |
324 // Invalidates vertical scrollbar only. | |
325 void invalidateScrollbar() const; | |
326 | |
327 // Invalidates both content area and the scrollbar. | |
328 void invalidateAll() const; | |
329 | |
330 // Returns a hit-tested VisiblePosition for the given point | 324 // Returns a hit-tested VisiblePosition for the given point |
331 VisiblePosition visiblePositionForViewportPoint(const WebPoint&); | 325 VisiblePosition visiblePositionForViewportPoint(const WebPoint&); |
332 | 326 |
333 void setFrameWidget(WebFrameWidgetImpl*); | 327 void setFrameWidget(WebFrameWidgetImpl*); |
334 WebFrameWidgetImpl* frameWidget() const; | 328 WebFrameWidgetImpl* frameWidget() const; |
335 | 329 |
336 // DevTools front-end bindings. | 330 // DevTools front-end bindings. |
337 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } | 331 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } |
338 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} | 332 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} |
339 | 333 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 GC_PLUGIN_IGNORE("340522") | 392 GC_PLUGIN_IGNORE("340522") |
399 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 393 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
400 #endif | 394 #endif |
401 }; | 395 }; |
402 | 396 |
403 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 397 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
404 | 398 |
405 } // namespace blink | 399 } // namespace blink |
406 | 400 |
407 #endif | 401 #endif |
OLD | NEW |