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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1149793002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming enum 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 virtual blink::WebFrame* createChildFrame( 359 virtual blink::WebFrame* createChildFrame(
360 blink::WebLocalFrame* parent, 360 blink::WebLocalFrame* parent,
361 blink::WebTreeScopeType scope, 361 blink::WebTreeScopeType scope,
362 const blink::WebString& name, 362 const blink::WebString& name,
363 blink::WebSandboxFlags sandboxFlags); 363 blink::WebSandboxFlags sandboxFlags);
364 virtual blink::WebFrame* createChildFrame( 364 virtual blink::WebFrame* createChildFrame(
365 blink::WebLocalFrame* parent, 365 blink::WebLocalFrame* parent,
366 const blink::WebString& name, 366 const blink::WebString& name,
367 blink::WebSandboxFlags sandboxFlags); 367 blink::WebSandboxFlags sandboxFlags);
368 virtual void didDisownOpener(blink::WebLocalFrame* frame); 368 virtual void didDisownOpener(blink::WebLocalFrame* frame);
369 // TODO(lfg): Remove this method once the blink patch lands.
369 virtual void frameDetached(blink::WebFrame* frame); 370 virtual void frameDetached(blink::WebFrame* frame);
371 virtual void frameDetached(blink::WebFrame* frame,
372 blink::WebFrameClient::DetachType type);
370 virtual void frameFocused(); 373 virtual void frameFocused();
371 virtual void willClose(blink::WebFrame* frame); 374 virtual void willClose(blink::WebFrame* frame);
372 virtual void didChangeName(blink::WebLocalFrame* frame, 375 virtual void didChangeName(blink::WebLocalFrame* frame,
373 const blink::WebString& name); 376 const blink::WebString& name);
374 virtual void didChangeSandboxFlags(blink::WebFrame* child_frame, 377 virtual void didChangeSandboxFlags(blink::WebFrame* child_frame,
375 blink::WebSandboxFlags flags); 378 blink::WebSandboxFlags flags);
376 virtual void didMatchCSS( 379 virtual void didMatchCSS(
377 blink::WebLocalFrame* frame, 380 blink::WebLocalFrame* frame,
378 const blink::WebVector<blink::WebString>& newly_matching_selectors, 381 const blink::WebVector<blink::WebString>& newly_matching_selectors,
379 const blink::WebVector<blink::WebString>& stopped_matching_selectors); 382 const blink::WebVector<blink::WebString>& stopped_matching_selectors);
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 #endif 971 #endif
969 972
970 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 973 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
971 974
972 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 975 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
973 }; 976 };
974 977
975 } // namespace content 978 } // namespace content
976 979
977 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 980 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698