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

Side by Side Diff: public/web/WebFrame.h

Issue 555953002: Move isLoading() from WebFrame to WebLocalFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/web/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.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) 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 const WebURL& unreachableURL = WebURL(), 364 const WebURL& unreachableURL = WebURL(),
365 bool replace = false) = 0; 365 bool replace = false) = 0;
366 366
367 // This method is short-hand for calling LoadData, where mime_type is 367 // This method is short-hand for calling LoadData, where mime_type is
368 // "text/html" and text_encoding is "UTF-8". 368 // "text/html" and text_encoding is "UTF-8".
369 virtual void loadHTMLString(const WebData& html, 369 virtual void loadHTMLString(const WebData& html,
370 const WebURL& baseURL, 370 const WebURL& baseURL,
371 const WebURL& unreachableURL = WebURL(), 371 const WebURL& unreachableURL = WebURL(),
372 bool replace = false) = 0; 372 bool replace = false) = 0;
373 373
374 // Returns true if the current frame is busy loading content.
375 virtual bool isLoading() const = 0;
376
377 // Stops any pending loads on the frame and its children. 374 // Stops any pending loads on the frame and its children.
378 virtual void stopLoading() = 0; 375 virtual void stopLoading() = 0;
379 376
380 // Returns the data source that is currently loading. May be null. 377 // Returns the data source that is currently loading. May be null.
381 virtual WebDataSource* provisionalDataSource() const = 0; 378 virtual WebDataSource* provisionalDataSource() const = 0;
382 379
383 // Returns the data source that is currently loaded. 380 // Returns the data source that is currently loaded.
384 virtual WebDataSource* dataSource() const = 0; 381 virtual WebDataSource* dataSource() const = 0;
385 382
386 // View-source rendering mode. Set this before loading an URL to cause 383 // View-source rendering mode. Set this before loading an URL to cause
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 699 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
703 }; 700 };
704 701
705 #if BLINK_IMPLEMENTATION 702 #if BLINK_IMPLEMENTATION
706 Frame* toCoreFrame(const WebFrame*); 703 Frame* toCoreFrame(const WebFrame*);
707 #endif 704 #endif
708 705
709 } // namespace blink 706 } // namespace blink
710 707
711 #endif 708 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698