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

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: adding comments 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 virtual blink::WebFrame* createChildFrame( 360 virtual blink::WebFrame* createChildFrame(
361 blink::WebLocalFrame* parent, 361 blink::WebLocalFrame* parent,
362 blink::WebTreeScopeType scope, 362 blink::WebTreeScopeType scope,
363 const blink::WebString& name, 363 const blink::WebString& name,
364 blink::WebSandboxFlags sandboxFlags); 364 blink::WebSandboxFlags sandboxFlags);
365 virtual blink::WebFrame* createChildFrame( 365 virtual blink::WebFrame* createChildFrame(
366 blink::WebLocalFrame* parent, 366 blink::WebLocalFrame* parent,
367 const blink::WebString& name, 367 const blink::WebString& name,
368 blink::WebSandboxFlags sandboxFlags); 368 blink::WebSandboxFlags sandboxFlags);
369 virtual void didDisownOpener(blink::WebLocalFrame* frame); 369 virtual void didDisownOpener(blink::WebLocalFrame* frame);
370 // TODO(lfg): Remove this method once the blink patch lands.
370 virtual void frameDetached(blink::WebFrame* frame); 371 virtual void frameDetached(blink::WebFrame* frame);
372 virtual void frameDetached(blink::WebFrame* frame, DetachType type);
371 virtual void frameFocused(); 373 virtual void frameFocused();
372 virtual void willClose(blink::WebFrame* frame); 374 virtual void willClose(blink::WebFrame* frame);
373 virtual void didChangeName(blink::WebLocalFrame* frame, 375 virtual void didChangeName(blink::WebLocalFrame* frame,
374 const blink::WebString& name); 376 const blink::WebString& name);
375 virtual void didChangeSandboxFlags(blink::WebFrame* child_frame, 377 virtual void didChangeSandboxFlags(blink::WebFrame* child_frame,
376 blink::WebSandboxFlags flags); 378 blink::WebSandboxFlags flags);
377 virtual void didMatchCSS( 379 virtual void didMatchCSS(
378 blink::WebLocalFrame* frame, 380 blink::WebLocalFrame* frame,
379 const blink::WebVector<blink::WebString>& newly_matching_selectors, 381 const blink::WebVector<blink::WebString>& newly_matching_selectors,
380 const blink::WebVector<blink::WebString>& stopped_matching_selectors); 382 const blink::WebVector<blink::WebString>& stopped_matching_selectors);
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 #endif 973 #endif
972 974
973 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 975 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
974 976
975 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 977 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
976 }; 978 };
977 979
978 } // namespace content 980 } // namespace content
979 981
980 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 982 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698