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

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 1374793005: Single image reload fix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « Source/core/svg/SVGImageElement.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 int worldID, const WebScriptSource* sourceIn, unsigned numSources, 124 int worldID, const WebScriptSource* sourceIn, unsigned numSources,
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&, WebURLRequest::ExtraData*) override;
135 void loadRequest(const WebURLRequest&) override; 135 void loadRequest(const WebURLRequest&) override;
136 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override; 136 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override;
137 void loadData( 137 void loadData(
138 const WebData&, const WebString& mimeType, const WebString& textEncoding , 138 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
139 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 139 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
140 void loadHTMLString( 140 void loadHTMLString(
141 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 141 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
142 bool replace) override; 142 bool replace) override;
143 void stopLoading() override; 143 void stopLoading() override;
144 WebDataSource* provisionalDataSource() const override; 144 WebDataSource* provisionalDataSource() const override;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // cleared upon close(). 399 // cleared upon close().
400 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 400 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
401 #endif 401 #endif
402 }; 402 };
403 403
404 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 404 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
405 405
406 } // namespace blink 406 } // namespace blink
407 407
408 #endif 408 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGImageElement.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698