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 18 matching lines...) Expand all Loading... |
29 #include "ui/views/controls/label.h" | 29 #include "ui/views/controls/label.h" |
30 #include "ui/views/controls/table/table_view.h" | 30 #include "ui/views/controls/table/table_view.h" |
31 #include "ui/views/layout/fill_layout.h" | 31 #include "ui/views/layout/fill_layout.h" |
32 #include "ui/views/layout/layout_constants.h" | 32 #include "ui/views/layout/layout_constants.h" |
33 #include "ui/views/view.h" | 33 #include "ui/views/view.h" |
34 #include "ui/views/widget/widget.h" | 34 #include "ui/views/widget/widget.h" |
35 #include "ui/views/window/dialog_client_view.h" | 35 #include "ui/views/window/dialog_client_view.h" |
36 | 36 |
37 #if defined(USE_ASH) | 37 #if defined(USE_ASH) |
38 // Note: gn check complains here, despite the correct conditional //ash dep. | 38 // Note: gn check complains here, despite the correct conditional //ash dep. |
39 #include "ash/common/shelf/shelf_item_types.h" // nogncheck | 39 #include "ash/public/cpp/shelf_item.h" // nogncheck |
40 #include "ash/public/cpp/window_properties.h" // nogncheck | 40 #include "ash/public/cpp/window_properties.h" // nogncheck |
41 #include "ash/resources/grit/ash_resources.h" // nogncheck | 41 #include "ash/resources/grit/ash_resources.h" // nogncheck |
42 #include "ash/wm/window_util.h" // nogncheck | 42 #include "ash/wm/window_util.h" // nogncheck |
43 #include "chrome/browser/ui/ash/ash_util.h" // nogncheck | 43 #include "chrome/browser/ui/ash/ash_util.h" // nogncheck |
44 #include "ui/aura/client/aura_constants.h" | 44 #include "ui/aura/client/aura_constants.h" |
45 #include "ui/base/resource/resource_bundle.h" | 45 #include "ui/base/resource/resource_bundle.h" |
46 #include "ui/gfx/image/image_skia.h" | 46 #include "ui/gfx/image/image_skia.h" |
47 #endif // defined(USE_ASH) | 47 #endif // defined(USE_ASH) |
48 | 48 |
49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 if (!g_browser_process->local_state()) | 366 if (!g_browser_process->local_state()) |
367 return; | 367 return; |
368 | 368 |
369 const base::DictionaryValue* dictionary = | 369 const base::DictionaryValue* dictionary = |
370 g_browser_process->local_state()->GetDictionary(GetWindowName()); | 370 g_browser_process->local_state()->GetDictionary(GetWindowName()); |
371 if (dictionary) | 371 if (dictionary) |
372 dictionary->GetBoolean("always_on_top", &is_always_on_top_); | 372 dictionary->GetBoolean("always_on_top", &is_always_on_top_); |
373 } | 373 } |
374 | 374 |
375 } // namespace task_manager | 375 } // namespace task_manager |
OLD | NEW |