| OLD | NEW | 
|---|
| 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/task_manager_view.h" | 5 #include "chrome/browser/ui/views/task_manager_view.h" | 
| 6 | 6 | 
| 7 #include <stddef.h> | 7 #include <stddef.h> | 
| 8 | 8 | 
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" | 
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 23 #include "chrome/common/url_constants.h" | 23 #include "chrome/common/url_constants.h" | 
| 24 #include "chrome/grit/chromium_strings.h" | 24 #include "chrome/grit/chromium_strings.h" | 
| 25 #include "chrome/grit/generated_resources.h" | 25 #include "chrome/grit/generated_resources.h" | 
| 26 #include "components/prefs/pref_service.h" | 26 #include "components/prefs/pref_service.h" | 
| 27 #include "ui/base/l10n/l10n_util.h" | 27 #include "ui/base/l10n/l10n_util.h" | 
| 28 #include "ui/base/models/table_model_observer.h" | 28 #include "ui/base/models/table_model_observer.h" | 
| 29 #include "ui/views/border.h" | 29 #include "ui/views/border.h" | 
| 30 #include "ui/views/controls/label.h" | 30 #include "ui/views/controls/label.h" | 
| 31 #include "ui/views/controls/table/table_view.h" | 31 #include "ui/views/controls/table/table_view.h" | 
| 32 #include "ui/views/layout/fill_layout.h" | 32 #include "ui/views/layout/fill_layout.h" | 
| 33 #include "ui/views/layout/layout_constants.h" |  | 
| 34 #include "ui/views/view.h" | 33 #include "ui/views/view.h" | 
| 35 #include "ui/views/widget/widget.h" | 34 #include "ui/views/widget/widget.h" | 
| 36 #include "ui/views/window/dialog_client_view.h" | 35 #include "ui/views/window/dialog_client_view.h" | 
| 37 | 36 | 
| 38 #if defined(USE_ASH) | 37 #if defined(USE_ASH) | 
| 39 // Note: gn check complains here, despite the correct conditional //ash dep. | 38 // Note: gn check complains here, despite the correct conditional //ash dep. | 
| 40 #include "ash/public/cpp/shelf_item.h"            // nogncheck | 39 #include "ash/public/cpp/shelf_item.h"            // nogncheck | 
| 41 #include "ash/public/cpp/window_properties.h"     // nogncheck | 40 #include "ash/public/cpp/window_properties.h"     // nogncheck | 
| 42 #include "ash/resources/grit/ash_resources.h"     // nogncheck | 41 #include "ash/resources/grit/ash_resources.h"     // nogncheck | 
| 43 #include "ash/wm/window_util.h"                   // nogncheck | 42 #include "ash/wm/window_util.h"                   // nogncheck | 
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 371   if (!g_browser_process->local_state()) | 370   if (!g_browser_process->local_state()) | 
| 372     return; | 371     return; | 
| 373 | 372 | 
| 374   const base::DictionaryValue* dictionary = | 373   const base::DictionaryValue* dictionary = | 
| 375       g_browser_process->local_state()->GetDictionary(GetWindowName()); | 374       g_browser_process->local_state()->GetDictionary(GetWindowName()); | 
| 376   if (dictionary) | 375   if (dictionary) | 
| 377     dictionary->GetBoolean("always_on_top", &is_always_on_top_); | 376     dictionary->GetBoolean("always_on_top", &is_always_on_top_); | 
| 378 } | 377 } | 
| 379 | 378 | 
| 380 }  // namespace task_manager | 379 }  // namespace task_manager | 
| OLD | NEW | 
|---|