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

Side by Side Diff: chrome/browser/ui/panels/panel_host.cc

Issue 1846653004: Rename IGNORING_CACHE to BYPASSING_CACHE (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
« no previous file with comments | « chrome/browser/ui/panels/panel_host.h ('k') | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/ui/panels/panel_host.h" 5 #include "chrome/browser/ui/panels/panel_host.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 content::WebContents* PanelHost::GetAssociatedWebContents() const { 230 content::WebContents* PanelHost::GetAssociatedWebContents() const {
231 return web_contents_.get(); 231 return web_contents_.get();
232 } 232 }
233 233
234 void PanelHost::Reload() { 234 void PanelHost::Reload() {
235 content::RecordAction(UserMetricsAction("Reload")); 235 content::RecordAction(UserMetricsAction("Reload"));
236 web_contents_->GetController().Reload(true); 236 web_contents_->GetController().Reload(true);
237 } 237 }
238 238
239 void PanelHost::ReloadIgnoringCache() { 239 void PanelHost::ReloadBypassingCache() {
240 content::RecordAction(UserMetricsAction("ReloadIgnoringCache")); 240 content::RecordAction(UserMetricsAction("ReloadBypassingCache"));
241 web_contents_->GetController().ReloadIgnoringCache(true); 241 web_contents_->GetController().ReloadBypassingCache(true);
242 } 242 }
243 243
244 void PanelHost::StopLoading() { 244 void PanelHost::StopLoading() {
245 content::RecordAction(UserMetricsAction("Stop")); 245 content::RecordAction(UserMetricsAction("Stop"));
246 web_contents_->Stop(); 246 web_contents_->Stop();
247 } 247 }
248 248
249 void PanelHost::Zoom(content::PageZoom zoom) { 249 void PanelHost::Zoom(content::PageZoom zoom) {
250 ui_zoom::PageZoom::Zoom(web_contents_.get(), zoom); 250 ui_zoom::PageZoom::Zoom(web_contents_.get(), zoom);
251 } 251 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_host.h ('k') | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698