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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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 /* 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide; 125 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide;
126 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 126 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
127 v8::Local<v8::Function>, 127 v8::Local<v8::Function>,
128 v8::Local<v8::Value>, 128 v8::Local<v8::Value>,
129 int argc, 129 int argc,
130 v8::Local<v8::Value> argv[]) override; 130 v8::Local<v8::Value> argv[]) override;
131 v8::Local<v8::Context> mainWorldScriptContext() const override; 131 v8::Local<v8::Context> mainWorldScriptContext() const override;
132 void reload(bool ignoreCache) override; 132 void reload(bool ignoreCache) override;
133 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over ride; 133 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over ride;
134 void reloadImage(const WebNode&) override; 134 void reloadImage(const WebNode&) override;
135 void reloadLoFiImages() override;
135 void loadRequest(const WebURLRequest&) override; 136 void loadRequest(const WebURLRequest&) override;
136 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override; 137 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override;
137 void loadData( 138 void loadData(
138 const WebData&, const WebString& mimeType, const WebString& textEncoding , 139 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
139 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 140 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
140 void loadHTMLString( 141 void loadHTMLString(
141 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 142 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
142 bool replace) override; 143 bool replace) override;
143 void stopLoading() override; 144 void stopLoading() override;
144 WebDataSource* provisionalDataSource() const override; 145 WebDataSource* provisionalDataSource() const override;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // cleared upon close(). 410 // cleared upon close().
410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
411 #endif 412 #endif
412 }; 413 };
413 414
414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
415 416
416 } // namespace blink 417 } // namespace blink
417 418
418 #endif 419 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698