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

Side by Side Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp

Issue 1850123002: Rename WebFrameLoadType::ReloadFromOrigin to ReloadBypassingCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "web/RemoteFrameClientImpl.h" 5 #include "web/RemoteFrameClientImpl.h"
6 6
7 #include "core/events/KeyboardEvent.h" 7 #include "core/events/KeyboardEvent.h"
8 #include "core/events/MouseEvent.h" 8 #include "core/events/MouseEvent.h"
9 #include "core/events/WheelEvent.h" 9 #include "core/events/WheelEvent.h"
10 #include "core/frame/RemoteFrame.h" 10 #include "core/frame/RemoteFrame.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry) 135 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry)
136 { 136 {
137 if (m_webFrame->client()) 137 if (m_webFrame->client())
138 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry); 138 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry);
139 } 139 }
140 140
141 void RemoteFrameClientImpl::reload(FrameLoadType loadType, ClientRedirectPolicy clientRedirectPolicy) 141 void RemoteFrameClientImpl::reload(FrameLoadType loadType, ClientRedirectPolicy clientRedirectPolicy)
142 { 142 {
143 if (m_webFrame->client()) 143 if (m_webFrame->client())
144 m_webFrame->client()->reload(loadType == FrameLoadTypeReloadFromOrigin, clientRedirectPolicy == ClientRedirect); 144 m_webFrame->client()->reload(loadType == FrameLoadTypeReloadBypassingCac he, clientRedirectPolicy == ClientRedirect);
145 } 145 }
146 146
147 unsigned RemoteFrameClientImpl::backForwardLength() 147 unsigned RemoteFrameClientImpl::backForwardLength()
148 { 148 {
149 // TODO(creis,japhet): This method should return the real value for the 149 // TODO(creis,japhet): This method should return the real value for the
150 // session history length. For now, return static value for the initial 150 // session history length. For now, return static value for the initial
151 // navigation and the subsequent one moving the frame out-of-process. 151 // navigation and the subsequent one moving the frame out-of-process.
152 // See https://crbug.com/501116. 152 // See https://crbug.com/501116.
153 return 2; 153 return 2;
154 } 154 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 { 197 {
198 m_webFrame->client()->advanceFocus(type, WebLocalFrameImpl::fromFrame(source )); 198 m_webFrame->client()->advanceFocus(type, WebLocalFrameImpl::fromFrame(source ));
199 } 199 }
200 200
201 void RemoteFrameClientImpl::visibilityChanged(bool visible) 201 void RemoteFrameClientImpl::visibilityChanged(bool visible)
202 { 202 {
203 m_webFrame->client()->visibilityChanged(visible); 203 m_webFrame->client()->visibilityChanged(visible);
204 } 204 }
205 205
206 } // namespace blink 206 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698