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

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

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.cc ('k') | chrome/browser/ui/panels/panel_host.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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // content::WebContentsObserver overrides. 77 // content::WebContentsObserver overrides.
78 void RenderProcessGone(base::TerminationStatus status) override; 78 void RenderProcessGone(base::TerminationStatus status) override;
79 void WebContentsDestroyed() override; 79 void WebContentsDestroyed() override;
80 80
81 // extensions::ExtensionFunctionDispatcher::Delegate overrides. 81 // extensions::ExtensionFunctionDispatcher::Delegate overrides.
82 extensions::WindowController* GetExtensionWindowController() const override; 82 extensions::WindowController* GetExtensionWindowController() const override;
83 content::WebContents* GetAssociatedWebContents() const override; 83 content::WebContents* GetAssociatedWebContents() const override;
84 84
85 // Actions on web contents. 85 // Actions on web contents.
86 void Reload(); 86 void Reload();
87 void ReloadIgnoringCache(); 87 void ReloadBypassingCache();
88 void StopLoading(); 88 void StopLoading();
89 void Zoom(content::PageZoom zoom); 89 void Zoom(content::PageZoom zoom);
90 90
91 private: 91 private:
92 // Helper to close panel via the message loop. 92 // Helper to close panel via the message loop.
93 void ClosePanel(); 93 void ClosePanel();
94 94
95 Panel* panel_; // Weak, owns us. 95 Panel* panel_; // Weak, owns us.
96 Profile* profile_; 96 Profile* profile_;
97 97
98 scoped_ptr<content::WebContents> web_contents_; 98 scoped_ptr<content::WebContents> web_contents_;
99 99
100 // The following factory is used to close the panel via the message loop. 100 // The following factory is used to close the panel via the message loop.
101 base::WeakPtrFactory<PanelHost> weak_factory_; 101 base::WeakPtrFactory<PanelHost> weak_factory_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(PanelHost); 103 DISALLOW_COPY_AND_ASSIGN(PanelHost);
104 }; 104 };
105 105
106 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 106 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698