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

Side by Side Diff: chrome/browser/ui/views/new_task_manager_view.cc

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/views/new_task_manager_view.h" 5 #include "chrome/browser/ui/views/new_task_manager_view.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/profiles/profile_window.h" 10 #include "chrome/browser/profiles/profile_window.h"
11 #include "chrome/browser/task_management/task_manager_observer.h" 11 #include "chrome/browser/task_management/task_manager_observer.h"
12 #include "chrome/browser/ui/browser_navigator_params.h"
12 #include "chrome/browser/ui/task_manager/task_manager_columns.h" 13 #include "chrome/browser/ui/task_manager/task_manager_columns.h"
13 #include "chrome/browser/ui/user_manager.h" 14 #include "chrome/browser/ui/user_manager.h"
14 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
15 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
16 #include "chrome/grit/chromium_strings.h" 17 #include "chrome/grit/chromium_strings.h"
17 #include "chrome/grit/generated_resources.h" 18 #include "chrome/grit/generated_resources.h"
18 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/base/models/table_model_observer.h" 20 #include "ui/base/models/table_model_observer.h"
20 #include "ui/views/controls/label.h" 21 #include "ui/views/controls/label.h"
21 #include "ui/views/controls/link.h" 22 #include "ui/views/controls/link.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 if (!g_browser_process->local_state()) 419 if (!g_browser_process->local_state())
419 return; 420 return;
420 421
421 const base::DictionaryValue* dictionary = 422 const base::DictionaryValue* dictionary =
422 g_browser_process->local_state()->GetDictionary(GetWindowName()); 423 g_browser_process->local_state()->GetDictionary(GetWindowName());
423 if (dictionary) 424 if (dictionary)
424 dictionary->GetBoolean("always_on_top", &is_always_on_top_); 425 dictionary->GetBoolean("always_on_top", &is_always_on_top_);
425 } 426 }
426 427
427 } // namespace task_management 428 } // namespace task_management
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698