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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 1229263003: Add an empty boolean to WebFrameClient::didFinishDocumentLoad (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: empty -> documentIsEmpty Created 5 years, 5 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/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.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) 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void dispatchDidHandleOnloadEvents() override; 86 void dispatchDidHandleOnloadEvents() override;
87 void dispatchDidReceiveServerRedirectForProvisionalLoad() override; 87 void dispatchDidReceiveServerRedirectForProvisionalLoad() override;
88 void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) override ; 88 void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) override ;
89 void dispatchWillClose() override; 89 void dispatchWillClose() override;
90 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override; 90 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override;
91 void dispatchDidReceiveTitle(const String&) override; 91 void dispatchDidReceiveTitle(const String&) override;
92 void dispatchDidChangeIcons(IconType) override; 92 void dispatchDidChangeIcons(IconType) override;
93 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override; 93 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override;
94 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override; 94 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override;
95 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override; 95 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override;
96 void dispatchDidFinishDocumentLoad() override; 96 void dispatchDidFinishDocumentLoad(bool documentIsEmpty) override;
97 void dispatchDidFinishLoad() override; 97 void dispatchDidFinishLoad() override;
98 void dispatchDidFirstVisuallyNonEmptyLayout() override; 98 void dispatchDidFirstVisuallyNonEmptyLayout() override;
99 99
100 void dispatchDidChangeThemeColor() override; 100 void dispatchDidChangeThemeColor() override;
101 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override; 101 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override;
102 void dispatchWillRequestResource(FetchRequest*) override; 102 void dispatchWillRequestResource(FetchRequest*) override;
103 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 103 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
104 void dispatchWillSubmitForm(HTMLFormElement*) override; 104 void dispatchWillSubmitForm(HTMLFormElement*) override;
105 void didStartLoading(LoadStartType) override; 105 void didStartLoading(LoadStartType) override;
106 void didStopLoading() override; 106 void didStopLoading() override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
190 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
191 WebLocalFrameImpl* m_webFrame; 191 WebLocalFrameImpl* m_webFrame;
192 }; 192 };
193 193
194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif 198 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698