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

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

Issue 1207103002: Update WebLocalFrameImpl and RotationViewportAnchor for root layer scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/web/RotationViewportAnchor.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 friend class FrameLoaderClientImpl; 350 friend class FrameLoaderClientImpl;
351 351
352 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); 352 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*);
353 353
354 // Sets the local core frame and registers destruction observers. 354 // Sets the local core frame and registers destruction observers.
355 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); 355 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>);
356 356
357 void loadJavaScriptURL(const KURL&); 357 void loadJavaScriptURL(const KURL&);
358 358
359 WebPlugin* focusedPluginIfInputMethodSupported(); 359 WebPlugin* focusedPluginIfInputMethodSupported();
360 ScrollableArea* layoutViewportScrollableArea() const;
360 361
361 FrameLoaderClientImpl m_frameLoaderClientImpl; 362 FrameLoaderClientImpl m_frameLoaderClientImpl;
362 363
363 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This 364 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This
364 // reference is released when the frame is removed from the DOM or the entir e page is closed. 365 // reference is released when the frame is removed from the DOM or the entir e page is closed.
365 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy. 366 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy.
366 RefPtrWillBeMember<LocalFrame> m_frame; 367 RefPtrWillBeMember<LocalFrame> m_frame;
367 368
368 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay; 369 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay;
369 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent; 370 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 GC_PLUGIN_IGNORE("340522") 406 GC_PLUGIN_IGNORE("340522")
406 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 407 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
407 #endif 408 #endif
408 }; 409 };
409 410
410 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
411 412
412 } // namespace blink 413 } // namespace blink
413 414
414 #endif 415 #endif
OLDNEW
« no previous file with comments | « Source/web/RotationViewportAnchor.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698