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

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

Issue 24286007: Add hasCommittedRealDocument API to WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | public/web/WebFrame.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual void loadRequest(const WebURLRequest&); 144 virtual void loadRequest(const WebURLRequest&);
145 virtual void loadHistoryItem(const WebHistoryItem&); 145 virtual void loadHistoryItem(const WebHistoryItem&);
146 virtual void loadData( 146 virtual void loadData(
147 const WebData&, const WebString& mimeType, const WebString& textEncoding , 147 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
148 const WebURL& baseURL, const WebURL& unreachableURL, bool replace); 148 const WebURL& baseURL, const WebURL& unreachableURL, bool replace);
149 virtual void loadHTMLString( 149 virtual void loadHTMLString(
150 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 150 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
151 bool replace); 151 bool replace);
152 virtual bool isLoading() const; 152 virtual bool isLoading() const;
153 virtual void stopLoading(); 153 virtual void stopLoading();
154 virtual bool hasCommittedRealDocument() const;
154 virtual WebDataSource* provisionalDataSource() const; 155 virtual WebDataSource* provisionalDataSource() const;
155 virtual WebDataSource* dataSource() const; 156 virtual WebDataSource* dataSource() const;
156 virtual WebHistoryItem previousHistoryItem() const; 157 virtual WebHistoryItem previousHistoryItem() const;
157 virtual WebHistoryItem currentHistoryItem() const; 158 virtual WebHistoryItem currentHistoryItem() const;
158 virtual void enableViewSourceMode(bool enable); 159 virtual void enableViewSourceMode(bool enable);
159 virtual bool isViewSourceModeEnabled() const; 160 virtual bool isViewSourceModeEnabled() const;
160 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer); 161 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer);
161 virtual void dispatchWillSendRequest(WebURLRequest&); 162 virtual void dispatchWillSendRequest(WebURLRequest&);
162 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&); 163 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&);
163 virtual unsigned unloadListenerCount() const; 164 virtual unsigned unloadListenerCount() const;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 { 509 {
509 return static_cast<const WebFrameImpl*>(webFrame); 510 return static_cast<const WebFrameImpl*>(webFrame);
510 } 511 }
511 512
512 // This will catch anyone doing an unnecessary cast. 513 // This will catch anyone doing an unnecessary cast.
513 void toWebFrameImpl(const WebFrameImpl*); 514 void toWebFrameImpl(const WebFrameImpl*);
514 515
515 } // namespace WebKit 516 } // namespace WebKit
516 517
517 #endif 518 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | public/web/WebFrame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698