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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 306 |
307 // Invalidates vertical scrollbar only. | 307 // Invalidates vertical scrollbar only. |
308 void invalidateScrollbar() const; | 308 void invalidateScrollbar() const; |
309 | 309 |
310 // Invalidates both content area and the scrollbar. | 310 // Invalidates both content area and the scrollbar. |
311 void invalidateAll() const; | 311 void invalidateAll() const; |
312 | 312 |
313 // Returns a hit-tested VisiblePosition for the given point | 313 // Returns a hit-tested VisiblePosition for the given point |
314 VisiblePosition visiblePositionForWindowPoint(const WebPoint&); | 314 VisiblePosition visiblePositionForWindowPoint(const WebPoint&); |
315 | 315 |
| 316 #if ENABLE(OILPAN) |
316 void trace(Visitor*); | 317 void trace(Visitor*); |
| 318 #endif |
317 | 319 |
318 private: | 320 private: |
319 friend class FrameLoaderClientImpl; | 321 friend class FrameLoaderClientImpl; |
320 | 322 |
321 explicit WebLocalFrameImpl(WebFrameClient*); | 323 explicit WebLocalFrameImpl(WebFrameClient*); |
322 | 324 |
323 // Sets the local core frame and registers destruction observers. | 325 // Sets the local core frame and registers destruction observers. |
324 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); | 326 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); |
325 | 327 |
326 void loadJavaScriptURL(const KURL&); | 328 void loadJavaScriptURL(const KURL&); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 GC_PLUGIN_IGNORE("340522") | 365 GC_PLUGIN_IGNORE("340522") |
364 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 366 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
365 #endif | 367 #endif |
366 }; | 368 }; |
367 | 369 |
368 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 370 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
369 | 371 |
370 } // namespace blink | 372 } // namespace blink |
371 | 373 |
372 #endif | 374 #endif |
OLD | NEW |