diff options
author | gene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-12 14:24:39 +0000 |
---|---|---|
committer | gene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-12 14:24:39 +0000 |
commit | d3446bdad99a3e30294938ecd12e9f78cb1d81ca (patch) | |
tree | 1109a5d8f889d083c41f73cc6e34f6bfbf32e196 /chrome/browser/ui/browser_commands.h | |
parent | 25373d3158a10dfbb1010f69cb6d73e002ffc355 (diff) | |
download | chromium_src-d3446bdad99a3e30294938ecd12e9f78cb1d81ca.zip chromium_src-d3446bdad99a3e30294938ecd12e9f78cb1d81ca.tar.gz chromium_src-d3446bdad99a3e30294938ecd12e9f78cb1d81ca.tar.bz2 |
Added reload drop-down menu for the Reload button on Linux when in the DevTools mode.
When on the tab with DevTools opened, Reload button of the browser will behave similar
to Back button. Simple click will still perform default reload. Long click, right click
or click and move down will bring up drop-down menu and allow user to specify Normal,
Hard or Clear Cache and Hard Reload.
This is Linux only UI change now. Win and Mac will follow after commiting this CL.
BUG=136670
TEST=Open webpage. Bring up DevTools. Verify Reload button behavior.
Review URL: https://chromiumcodereview.appspot.com/10736008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_commands.h')
-rw-r--r-- | chrome/browser/ui/browser_commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h index d4dc937..efe9490 100644 --- a/chrome/browser/ui/browser_commands.h +++ b/chrome/browser/ui/browser_commands.h @@ -132,6 +132,8 @@ void ShowAvatarMenu(Browser* browser); void OpenUpdateChromeDialog(Browser* browser); void ToggleSpeechInput(Browser* browser); void ToggleFullscreenMode(Browser* browser); +void ClearCache(Browser* browser); +bool IsDebuggerAttachedToCurrentTab(Browser* browser); // Opens view-source tab for given tab contents. void ViewSource(Browser* browser, TabContents* tab); |