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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 117493002: Invert the owning relationship between WebFrame and Frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/loader/FrameLoader.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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 virtual void annotatedRegionsChanged() OVERRIDE { } 179 virtual void annotatedRegionsChanged() OVERRIDE { }
180 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } 180 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; }
181 virtual String acceptLanguages() OVERRIDE; 181 virtual String acceptLanguages() OVERRIDE;
182 }; 182 };
183 183
184 class EmptyFrameLoaderClient : public FrameLoaderClient { 184 class EmptyFrameLoaderClient : public FrameLoaderClient {
185 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; 185 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED;
186 public: 186 public:
187 EmptyFrameLoaderClient() { } 187 EmptyFrameLoaderClient() { }
188 virtual ~EmptyFrameLoaderClient() { } 188 virtual ~EmptyFrameLoaderClient() { }
189 virtual void frameLoaderDestroyed() OVERRIDE { }
190 189
191 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions 190 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions
192 191
192 virtual void willDetachParent() OVERRIDE { }
193 virtual void detachedFromParent() OVERRIDE { } 193 virtual void detachedFromParent() OVERRIDE { }
194 194
195 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) OVERRIDE { } 195 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) OVERRIDE { }
196 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) OVERRIDE { } 196 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) OVERRIDE { }
197 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) OVERRI DE { } 197 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) OVERRI DE { }
198 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) OVERRIDE { } 198 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) OVERRIDE { }
199 199
200 virtual void dispatchDidHandleOnloadEvents() OVERRIDE { } 200 virtual void dispatchDidHandleOnloadEvents() OVERRIDE { }
201 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE { } 201 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE { }
202 virtual void dispatchWillClose() OVERRIDE { } 202 virtual void dispatchWillClose() OVERRIDE { }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 virtual int backListCount() OVERRIDE { return 0; } 332 virtual int backListCount() OVERRIDE { return 0; }
333 virtual int forwardListCount() OVERRIDE { return 0; } 333 virtual int forwardListCount() OVERRIDE { return 0; }
334 virtual int backForwardListCount() OVERRIDE { return 0; } 334 virtual int backForwardListCount() OVERRIDE { return 0; }
335 }; 335 };
336 336
337 void fillWithEmptyClients(Page::PageClients&); 337 void fillWithEmptyClients(Page::PageClients&);
338 338
339 } 339 }
340 340
341 #endif // EmptyClients_h 341 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698