Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 594483002: Oilpan: extend tracing over WebFrame trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add not-reached assert Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 void clearWeakMembers(Visitor*);
319 #endif
317 320
318 private: 321 private:
319 friend class FrameLoaderClientImpl; 322 friend class FrameLoaderClientImpl;
320 323
321 explicit WebLocalFrameImpl(WebFrameClient*); 324 explicit WebLocalFrameImpl(WebFrameClient*);
322 325
323 // Sets the local core frame and registers destruction observers. 326 // Sets the local core frame and registers destruction observers.
324 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); 327 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>);
325 328
326 void loadJavaScriptURL(const KURL&); 329 void loadJavaScriptURL(const KURL&);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 GC_PLUGIN_IGNORE("340522") 370 GC_PLUGIN_IGNORE("340522")
368 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 371 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
369 #endif 372 #endif
370 }; 373 };
371 374
372 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 375 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
373 376
374 } // namespace blink 377 } // namespace blink
375 378
376 #endif 379 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698