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

Side by Side Diff: content/public/browser/web_contents.h

Issue 1624583003: Reload Lo-Fi images inline instead of reloading the whole page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added comment Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // Stop any pending navigation. 409 // Stop any pending navigation.
410 virtual void Stop() = 0; 410 virtual void Stop() = 0;
411 411
412 // Creates a new WebContents with the same state as this one. The returned 412 // Creates a new WebContents with the same state as this one. The returned
413 // heap-allocated pointer is owned by the caller. 413 // heap-allocated pointer is owned by the caller.
414 virtual WebContents* Clone() = 0; 414 virtual WebContents* Clone() = 0;
415 415
416 // Reloads the focused frame. 416 // Reloads the focused frame.
417 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; 417 virtual void ReloadFocusedFrame(bool ignore_cache) = 0;
418 418
419 // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and
420 // reloads from the network.
421 virtual void ReloadLoFiImages() = 0;
422
419 // Editing commands ---------------------------------------------------------- 423 // Editing commands ----------------------------------------------------------
420 424
421 virtual void Undo() = 0; 425 virtual void Undo() = 0;
422 virtual void Redo() = 0; 426 virtual void Redo() = 0;
423 virtual void Cut() = 0; 427 virtual void Cut() = 0;
424 virtual void Copy() = 0; 428 virtual void Copy() = 0;
425 virtual void CopyToFindPboard() = 0; 429 virtual void CopyToFindPboard() = 0;
426 virtual void Paste() = 0; 430 virtual void Paste() = 0;
427 virtual void PasteAndMatchStyle() = 0; 431 virtual void PasteAndMatchStyle() = 0;
428 virtual void Delete() = 0; 432 virtual void Delete() = 0;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 714
711 private: 715 private:
712 // This interface should only be implemented inside content. 716 // This interface should only be implemented inside content.
713 friend class WebContentsImpl; 717 friend class WebContentsImpl;
714 WebContents() {} 718 WebContents() {}
715 }; 719 };
716 720
717 } // namespace content 721 } // namespace content
718 722
719 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 723 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698