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

Side by Side Diff: chrome/browser/ui/cocoa/task_manager_mac.mm

Issue 12712018: Fixing problem with incomplete browser windows showing up after task manager was used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed again. Done. 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 unified diff | Download patch | Annotate | Revision Log
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 #include "chrome/browser/ui/cocoa/task_manager_mac.h" 5 #include "chrome/browser/ui/cocoa/task_manager_mac.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/mac/bundle_locations.h" 10 #include "base/mac/bundle_locations.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 // "Task Manager" so close the existing window and fall through to 578 // "Task Manager" so close the existing window and fall through to
579 // open a new one. 579 // open a new one.
580 [[instance_->window_controller_ window] close]; 580 [[instance_->window_controller_ window] close];
581 } 581 }
582 } 582 }
583 // Create a new instance. 583 // Create a new instance.
584 instance_ = new TaskManagerMac(TaskManager::GetInstance(), 584 instance_ = new TaskManagerMac(TaskManager::GetInstance(),
585 highlight_background_resources); 585 highlight_background_resources);
586 instance_->model_->StartUpdating(); 586 instance_->model_->StartUpdating();
587 } 587 }
588
589 namespace chrome {
590
591 // Declared in browser_dialogs.h.
592 void ShowTaskManager(Browser* browser, bool highlight_background_resources) {
593 TaskManagerMac::Show(highlight_background_resources);
594 }
595
596 } // namespace chrome
597
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/gtk/browser_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698