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

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

Issue 156123004: Move the frame tree into the embedder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: T -> t Created 6 years, 10 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/loader/FrameLoader.cpp ('k') | Source/core/page/FrameTree.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 class SocketStreamHandle; 84 class SocketStreamHandle;
85 class SubstituteData; 85 class SubstituteData;
86 class Widget; 86 class Widget;
87 87
88 class FrameLoaderClient { 88 class FrameLoaderClient {
89 public: 89 public:
90 virtual ~FrameLoaderClient() { } 90 virtual ~FrameLoaderClient() { }
91 91
92 virtual bool hasWebView() const = 0; // mainly for assertions 92 virtual bool hasWebView() const = 0; // mainly for assertions
93 93
94 virtual Frame* parent() const = 0;
95 virtual Frame* top() const = 0;
96 virtual Frame* previousSibling() const = 0;
97 virtual Frame* nextSibling() const = 0;
98 virtual Frame* firstChild() const = 0;
99 virtual Frame* lastChild() const = 0;
94 virtual void detachedFromParent() = 0; 100 virtual void detachedFromParent() = 0;
95 101
96 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } 102 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { }
97 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 103 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
98 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 104 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
99 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 105 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
100 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0; 106 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0;
101 107
102 virtual void dispatchDidHandleOnloadEvents() = 0; 108 virtual void dispatchDidHandleOnloadEvents() = 0;
103 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 109 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 230 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
225 231
226 virtual void didStopAllLoaders() { } 232 virtual void didStopAllLoaders() { }
227 233
228 virtual bool isFrameLoaderClientImpl() const { return false; } 234 virtual bool isFrameLoaderClientImpl() const { return false; }
229 }; 235 };
230 236
231 } // namespace WebCore 237 } // namespace WebCore
232 238
233 #endif // FrameLoaderClient_h 239 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/FrameTree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698