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

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: adding blink test 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // Replaces the currently selected word or a word around the cursor. 439 // Replaces the currently selected word or a word around the cursor.
440 virtual void Replace(const base::string16& word) = 0; 440 virtual void Replace(const base::string16& word) = 0;
441 441
442 // Replaces the misspelling in the current selection. 442 // Replaces the misspelling in the current selection.
443 virtual void ReplaceMisspelling(const base::string16& word) = 0; 443 virtual void ReplaceMisspelling(const base::string16& word) = 0;
444 444
445 // Let the renderer know that the menu has been closed. 445 // Let the renderer know that the menu has been closed.
446 virtual void NotifyContextMenuClosed( 446 virtual void NotifyContextMenuClosed(
447 const CustomContextMenuContext& context) = 0; 447 const CustomContextMenuContext& context) = 0;
448 448
449 // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and
450 // reloads from the network.
Charlie Reis 2016/01/29 23:01:12 Is this supposed to disable LoFi state as well? I
megjablon 2016/01/29 23:22:23 Yes it disables LoFi. If the user requests that Lo
Charlie Reis 2016/01/29 23:52:00 Ok. I just wasn't clear whether there was additio
451 virtual void ReloadLoFiImages() = 0;
Charlie Reis 2016/01/29 23:01:12 This doesn't really belong in the Editing commands
megjablon 2016/01/29 23:22:23 Done.
452
449 // Executes custom context menu action that was provided from Blink. 453 // Executes custom context menu action that was provided from Blink.
450 virtual void ExecuteCustomContextMenuCommand( 454 virtual void ExecuteCustomContextMenuCommand(
451 int action, const CustomContextMenuContext& context) = 0; 455 int action, const CustomContextMenuContext& context) = 0;
452 456
453 // Views and focus ----------------------------------------------------------- 457 // Views and focus -----------------------------------------------------------
454 458
455 // Returns the native widget that contains the contents of the tab. 459 // Returns the native widget that contains the contents of the tab.
456 virtual gfx::NativeView GetNativeView() = 0; 460 virtual gfx::NativeView GetNativeView() = 0;
457 461
458 // Returns the native widget with the main content of the tab (i.e. the main 462 // Returns the native widget with the main content of the tab (i.e. the main
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 712
709 private: 713 private:
710 // This interface should only be implemented inside content. 714 // This interface should only be implemented inside content.
711 friend class WebContentsImpl; 715 friend class WebContentsImpl;
712 WebContents() {} 716 WebContents() {}
713 }; 717 };
714 718
715 } // namespace content 719 } // namespace content
716 720
717 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 721 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698