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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments Created 5 years, 6 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; 124 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override;
125 virtual void requestExecuteScriptInIsolatedWorld( 125 virtual void requestExecuteScriptInIsolatedWorld(
126 int worldID, const WebScriptSource* sourceIn, unsigned numSources, 126 int worldID, const WebScriptSource* sourceIn, unsigned numSources,
127 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide; 127 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide;
128 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 128 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
129 v8::Local<v8::Function>, 129 v8::Local<v8::Function>,
130 v8::Local<v8::Value>, 130 v8::Local<v8::Value>,
131 int argc, 131 int argc,
132 v8::Local<v8::Value> argv[]) override; 132 v8::Local<v8::Value> argv[]) override;
133 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; 133 virtual v8::Local<v8::Context> mainWorldScriptContext() const override;
134 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe quest::CachePolicy)
135 const override;
136 virtual WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) cons t override;
134 virtual void reload(bool ignoreCache) override; 137 virtual void reload(bool ignoreCache) override;
135 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override; 138 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override;
136 virtual void reloadImage(const WebNode&) override; 139 virtual void reloadImage(const WebNode&) override;
137 virtual void loadRequest(const WebURLRequest&) override; 140 virtual void loadRequest(const WebURLRequest&, WebFrameLoadType, const WebHi storyItem&,
141 WebHistoryLoadType) override;
138 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override; 142 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override;
139 virtual void loadData( 143 virtual void loadData(
140 const WebData&, const WebString& mimeType, const WebString& textEncoding , 144 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
141 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 145 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
142 virtual void loadHTMLString( 146 virtual void loadHTMLString(
143 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 147 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
144 bool replace) override; 148 bool replace) override;
145 virtual void stopLoading() override; 149 virtual void stopLoading() override;
146 virtual WebDataSource* provisionalDataSource() const override; 150 virtual WebDataSource* provisionalDataSource() const override;
147 virtual WebDataSource* dataSource() const override; 151 virtual WebDataSource* dataSource() const override;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 GC_PLUGIN_IGNORE("340522") 395 GC_PLUGIN_IGNORE("340522")
392 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 396 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
393 #endif 397 #endif
394 }; 398 };
395 399
396 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
397 401
398 } // namespace blink 402 } // namespace blink
399 403
400 #endif 404 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698