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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1838043002: Disabled "Print" option in wrench menu for a crashed page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled "Print" option in wrench menu for a crashed page. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index e62dd4758d36f6626ed8a874dc1ce8b91af95242..c4bfef0d8f75d585adb17cbee3d65dc7c4b33d4a 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1552,7 +1552,8 @@ void Browser::NavigationStateChanged(WebContents* source,
// need to update the command state early on load to always present usable
// actions in the face of slow-to-commit pages.
if (changed_flags & (content::INVALIDATE_TYPE_URL |
- content::INVALIDATE_TYPE_LOAD))
+ content::INVALIDATE_TYPE_LOAD |
+ content::INVALIDATE_TYPE_TAB))
command_controller_->TabStateChanged();
if (hosted_app_controller_)
« no previous file with comments | « no previous file | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698