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

Side by Side Diff: sky/engine/web/FrameLoaderClientImpl.cpp

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/web/FrameLoaderClientImpl.h ('k') | sky/engine/web/GraphicsLayerFactoryChromium.h » ('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, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 if (m_webFrame->client()) 96 if (m_webFrame->client())
97 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl dId); 97 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl dId);
98 } 98 }
99 99
100 void FrameLoaderClientImpl::didChangeScrollOffset() 100 void FrameLoaderClientImpl::didChangeScrollOffset()
101 { 101 {
102 if (m_webFrame->client()) 102 if (m_webFrame->client())
103 m_webFrame->client()->didChangeScrollOffset(m_webFrame); 103 m_webFrame->client()->didChangeScrollOffset(m_webFrame);
104 } 104 }
105 105
106 void FrameLoaderClientImpl::didRemoveAllPendingStylesheet()
107 {
108 WebViewImpl* webview = m_webFrame->viewImpl();
109 if (webview)
110 webview->didRemoveAllPendingStylesheet(m_webFrame);
111 }
112
113 void FrameLoaderClientImpl::detachedFromParent() 106 void FrameLoaderClientImpl::detachedFromParent()
114 { 107 {
115 // Alert the client that the frame is being detached. This is the last 108 // Alert the client that the frame is being detached. This is the last
116 // chance we have to communicate with the client. 109 // chance we have to communicate with the client.
117 RefPtr<WebLocalFrameImpl> protector(m_webFrame); 110 RefPtr<WebLocalFrameImpl> protector(m_webFrame);
118 111
119 WebFrameClient* client = m_webFrame->client(); 112 WebFrameClient* client = m_webFrame->client();
120 if (!client) 113 if (!client)
121 return; 114 return;
122 115
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason); 274 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason);
282 } 275 }
283 276
284 void FrameLoaderClientImpl::dispatchDidChangeManifest() 277 void FrameLoaderClientImpl::dispatchDidChangeManifest()
285 { 278 {
286 if (m_webFrame->client()) 279 if (m_webFrame->client())
287 m_webFrame->client()->didChangeManifest(m_webFrame); 280 m_webFrame->client()->didChangeManifest(m_webFrame);
288 } 281 }
289 282
290 } // namespace blink 283 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/FrameLoaderClientImpl.h ('k') | sky/engine/web/GraphicsLayerFactoryChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698