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

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

Issue 1843663005: Change bool ignoreCache to WebFrameLoadType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 class WebFrameClient; 61 class WebFrameClient;
62 class WebFrameWidget; 62 class WebFrameWidget;
63 class WebNode; 63 class WebNode;
64 class WebPerformance; 64 class WebPerformance;
65 class WebPlugin; 65 class WebPlugin;
66 class WebPluginContainerImpl; 66 class WebPluginContainerImpl;
67 class WebScriptExecutionCallback; 67 class WebScriptExecutionCallback;
68 class WebSuspendableTask; 68 class WebSuspendableTask;
69 class WebView; 69 class WebView;
70 class WebViewImpl; 70 class WebViewImpl;
71 enum class WebFrameLoadType;
71 struct FrameLoadRequest; 72 struct FrameLoadRequest;
72 struct WebPrintParams; 73 struct WebPrintParams;
73 74
74 template <typename T> class WebVector; 75 template <typename T> class WebVector;
75 76
76 // Implementation of WebFrame, note that this is a reference counted object. 77 // Implementation of WebFrame, note that this is a reference counted object.
77 class WEB_EXPORT WebLocalFrameImpl final : public WebFrameImplBase, WTF_NON_EXPO RTED_BASE(public WebLocalFrame) { 78 class WEB_EXPORT WebLocalFrameImpl final : public WebFrameImplBase, WTF_NON_EXPO RTED_BASE(public WebLocalFrame) {
78 public: 79 public:
79 // WebFrame methods: 80 // WebFrame methods:
80 void close() override; 81 void close() override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; 116 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override;
116 void requestExecuteScriptInIsolatedWorld( 117 void requestExecuteScriptInIsolatedWorld(
117 int worldID, const WebScriptSource* sourceIn, unsigned numSources, 118 int worldID, const WebScriptSource* sourceIn, unsigned numSources,
118 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide; 119 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide;
119 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 120 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
120 v8::Local<v8::Function>, 121 v8::Local<v8::Function>,
121 v8::Local<v8::Value>, 122 v8::Local<v8::Value>,
122 int argc, 123 int argc,
123 v8::Local<v8::Value> argv[]) override; 124 v8::Local<v8::Value> argv[]) override;
124 v8::Local<v8::Context> mainWorldScriptContext() const override; 125 v8::Local<v8::Context> mainWorldScriptContext() const override;
125 void reload(bool ignoreCache) override; 126 void reload(WebFrameLoadType) override;
126 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over ride; 127 void reloadWithOverrideURL(const WebURL& overrideUrl, WebFrameLoadType) over ride;
127 void reloadImage(const WebNode&) override; 128 void reloadImage(const WebNode&) override;
128 void reloadLoFiImages() override; 129 void reloadLoFiImages() override;
129 void loadRequest(const WebURLRequest&) override; 130 void loadRequest(const WebURLRequest&) override;
130 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override; 131 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override;
131 void loadHTMLString( 132 void loadHTMLString(
132 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 133 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
133 bool replace) override; 134 bool replace) override;
134 void stopLoading() override; 135 void stopLoading() override;
135 WebDataSource* provisionalDataSource() const override; 136 WebDataSource* provisionalDataSource() const override;
136 WebDataSource* dataSource() const override; 137 WebDataSource* dataSource() const override;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 // cleared upon close(). 409 // cleared upon close().
409 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
410 #endif 411 #endif
411 }; 412 };
412 413
413 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
414 415
415 } // namespace blink 416 } // namespace blink
416 417
417 #endif 418 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698