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

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: 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_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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 void CopyToFindPboard() override; 308 void CopyToFindPboard() override;
309 void Paste() override; 309 void Paste() override;
310 void PasteAndMatchStyle() override; 310 void PasteAndMatchStyle() override;
311 void Delete() override; 311 void Delete() override;
312 void SelectAll() override; 312 void SelectAll() override;
313 void Unselect() override; 313 void Unselect() override;
314 void Replace(const base::string16& word) override; 314 void Replace(const base::string16& word) override;
315 void ReplaceMisspelling(const base::string16& word) override; 315 void ReplaceMisspelling(const base::string16& word) override;
316 void NotifyContextMenuClosed( 316 void NotifyContextMenuClosed(
317 const CustomContextMenuContext& context) override; 317 const CustomContextMenuContext& context) override;
318 void ReloadLoFiImages() override;
318 void ExecuteCustomContextMenuCommand( 319 void ExecuteCustomContextMenuCommand(
319 int action, 320 int action,
320 const CustomContextMenuContext& context) override; 321 const CustomContextMenuContext& context) override;
321 gfx::NativeView GetNativeView() override; 322 gfx::NativeView GetNativeView() override;
322 gfx::NativeView GetContentNativeView() override; 323 gfx::NativeView GetContentNativeView() override;
323 gfx::NativeWindow GetTopLevelNativeWindow() override; 324 gfx::NativeWindow GetTopLevelNativeWindow() override;
324 gfx::Rect GetContainerBounds() override; 325 gfx::Rect GetContainerBounds() override;
325 gfx::Rect GetViewBounds() override; 326 gfx::Rect GetViewBounds() override;
326 DropData* GetDropData() override; 327 DropData* GetDropData() override;
327 void Focus() override; 328 void Focus() override;
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 // Adds/removes a callback called on creation of each new WebContents. 1322 // Adds/removes a callback called on creation of each new WebContents.
1322 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1323 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1323 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1324 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1324 1325
1325 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1326 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1326 }; 1327 };
1327 1328
1328 } // namespace content 1329 } // namespace content
1329 1330
1330 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1331 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698