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 // Returns the text finder object if it already exists. | 306 // Returns the text finder object if it already exists. |
307 // Otherwise creates it and then returns. | 307 // Otherwise creates it and then returns. |
308 TextFinder& ensureTextFinder(); | 308 TextFinder& ensureTextFinder(); |
309 | 309 |
310 // Invalidates vertical scrollbar only. | 310 // Invalidates vertical scrollbar only. |
311 void invalidateScrollbar() const; | 311 void invalidateScrollbar() const; |
312 | 312 |
313 // Invalidates both content area and the scrollbar. | 313 // Invalidates both content area and the scrollbar. |
314 void invalidateAll() const; | 314 void invalidateAll() const; |
315 | 315 |
| 316 void initializeAsChildFrame(WebCore::FrameHost*, WebCore::FrameOwner*, const
AtomicString& name, const AtomicString& fallbackName); |
| 317 |
316 private: | 318 private: |
317 friend class FrameLoaderClientImpl; | 319 friend class FrameLoaderClientImpl; |
318 | 320 |
319 explicit WebLocalFrameImpl(WebFrameClient*); | 321 explicit WebLocalFrameImpl(WebFrameClient*); |
320 | 322 |
321 // Sets the local WebCore frame and registers destruction observers. | 323 // Sets the local WebCore frame and registers destruction observers. |
322 void setWebCoreFrame(PassRefPtr<WebCore::LocalFrame>); | 324 void setWebCoreFrame(PassRefPtr<WebCore::LocalFrame>); |
323 | 325 |
324 void loadJavaScriptURL(const WebCore::KURL&); | 326 void loadJavaScriptURL(const WebCore::KURL&); |
325 | 327 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 UserMediaClientImpl m_userMediaClientImpl; | 359 UserMediaClientImpl m_userMediaClientImpl; |
358 | 360 |
359 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; | 361 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; |
360 }; | 362 }; |
361 | 363 |
362 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 364 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
363 | 365 |
364 } // namespace blink | 366 } // namespace blink |
365 | 367 |
366 #endif | 368 #endif |
OLD | NEW |