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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 void CopyToFindPboard() override; 309 void CopyToFindPboard() override;
310 void Paste() override; 310 void Paste() override;
311 void PasteAndMatchStyle() override; 311 void PasteAndMatchStyle() override;
312 void Delete() override; 312 void Delete() override;
313 void SelectAll() override; 313 void SelectAll() override;
314 void Unselect() override; 314 void Unselect() override;
315 void Replace(const base::string16& word) override; 315 void Replace(const base::string16& word) override;
316 void ReplaceMisspelling(const base::string16& word) override; 316 void ReplaceMisspelling(const base::string16& word) override;
317 void NotifyContextMenuClosed( 317 void NotifyContextMenuClosed(
318 const CustomContextMenuContext& context) override; 318 const CustomContextMenuContext& context) override;
319 void ReloadLoFiImages() override;
319 void ExecuteCustomContextMenuCommand( 320 void ExecuteCustomContextMenuCommand(
320 int action, 321 int action,
321 const CustomContextMenuContext& context) override; 322 const CustomContextMenuContext& context) override;
322 gfx::NativeView GetNativeView() override; 323 gfx::NativeView GetNativeView() override;
323 gfx::NativeView GetContentNativeView() override; 324 gfx::NativeView GetContentNativeView() override;
324 gfx::NativeWindow GetTopLevelNativeWindow() override; 325 gfx::NativeWindow GetTopLevelNativeWindow() override;
325 gfx::Rect GetContainerBounds() override; 326 gfx::Rect GetContainerBounds() override;
326 gfx::Rect GetViewBounds() override; 327 gfx::Rect GetViewBounds() override;
327 DropData* GetDropData() override; 328 DropData* GetDropData() override;
328 void Focus() override; 329 void Focus() override;
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 // Adds/removes a callback called on creation of each new WebContents. 1325 // Adds/removes a callback called on creation of each new WebContents.
1325 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1326 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1326 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1327 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1327 1328
1328 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1329 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1329 }; 1330 };
1330 1331
1331 } // namespace content 1332 } // namespace content
1332 1333
1333 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1334 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698