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

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

Issue 12430013: Fix panel showing logic when Chrome enters the fullscreen mode (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix per feedback Created 7 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 | « chrome/browser/ui/panels/docked_panel_collection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_manager.cc
diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc
index 0f9becd3b5ec7e7dcce7a8f8a6e4d3297f6affe7..dd0ae8fc2cfebd25387c5d8cd576113dbb19dabd 100644
--- a/chrome/browser/ui/panels/panel_manager.cc
+++ b/chrome/browser/ui/panels/panel_manager.cc
@@ -195,7 +195,11 @@ void PanelManager::OnDisplayChanged() {
}
void PanelManager::OnFullScreenModeChanged(bool is_full_screen) {
- docked_collection_->OnFullScreenModeChanged(is_full_screen);
+ std::vector<Panel*> all_panels = panels();
+ for (std::vector<Panel*>::const_iterator iter = all_panels.begin();
+ iter != all_panels.end(); ++iter) {
+ (*iter)->FullScreenModeChanged(is_full_screen);
+ }
}
int PanelManager::GetMaxPanelWidth(const gfx::Rect& work_area) const {
« no previous file with comments | « chrome/browser/ui/panels/docked_panel_collection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698