Chromium Code Reviews| Index: chrome/browser/app_controller_mac.mm |
| diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm |
| index 4f248343f7f799dd5ff33036365c7cdfb5f55228..cdc25fceb9aee0dc1c8867ca4131894d68f7dfa1 100644 |
| --- a/chrome/browser/app_controller_mac.mm |
| +++ b/chrome/browser/app_controller_mac.mm |
| @@ -1497,7 +1497,7 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer { |
| chrome::BrowserCommandController:: |
| UpdateSharedCommandsForIncognitoAvailability( |
| - menuState_.get(), lastProfile_); |
| + menuState_.get(), lastProfile_, false); |
|
msw
2017/02/14 22:34:50
How do you know the relevant window is not fullscr
Hzj_jie
2017/02/15 02:00:49
AFAIK, menuState_ here is the state of menu items.
msw
2017/02/15 18:40:51
Sorry, but I don't understand how your reply answe
Hzj_jie
2017/02/15 21:20:16
No, I do not know, and I do not think we are talki
|
| profilePrefRegistrar_.reset(new PrefChangeRegistrar()); |
| profilePrefRegistrar_->Init(lastProfile_->GetPrefs()); |
| profilePrefRegistrar_->Add( |
| @@ -1505,7 +1505,8 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer { |
| base::Bind(&chrome::BrowserCommandController:: |
| UpdateSharedCommandsForIncognitoAvailability, |
| menuState_.get(), |
| - lastProfile_)); |
| + lastProfile_, |
| + false)); |
| } |
| - (void)applicationDidChangeScreenParameters:(NSNotification*)notification { |