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