| 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 16 matching lines...) Expand all Loading... |
| 27 #include "ui/views/border.h" | 27 #include "ui/views/border.h" |
| 28 #include "ui/views/controls/label.h" | 28 #include "ui/views/controls/label.h" |
| 29 #include "ui/views/controls/table/table_view.h" | 29 #include "ui/views/controls/table/table_view.h" |
| 30 #include "ui/views/layout/fill_layout.h" | 30 #include "ui/views/layout/fill_layout.h" |
| 31 #include "ui/views/layout/layout_constants.h" | 31 #include "ui/views/layout/layout_constants.h" |
| 32 #include "ui/views/view.h" | 32 #include "ui/views/view.h" |
| 33 #include "ui/views/widget/widget.h" | 33 #include "ui/views/widget/widget.h" |
| 34 #include "ui/views/window/dialog_client_view.h" | 34 #include "ui/views/window/dialog_client_view.h" |
| 35 | 35 |
| 36 #if defined(USE_ASH) | 36 #if defined(USE_ASH) |
| 37 #include "ash/shelf/shelf_util.h" | 37 #include "ash/shelf/shelf_util.h" // nogncheck |
| 38 #include "ash/wm/window_util.h" | 38 #include "ash/wm/window_util.h" // nogncheck |
| 39 #include "grit/ash_resources.h" | 39 #include "grit/ash_resources.h" // nogncheck |
| 40 #endif // defined(USE_ASH) | 40 #endif // defined(USE_ASH) |
| 41 | 41 |
| 42 #if defined(OS_WIN) | 42 #if defined(OS_WIN) |
| 43 #include "chrome/browser/shell_integration_win.h" | 43 #include "chrome/browser/shell_integration_win.h" |
| 44 #include "ui/base/win/shell.h" | 44 #include "ui/base/win/shell.h" |
| 45 #include "ui/views/win/hwnd_util.h" | 45 #include "ui/views/win/hwnd_util.h" |
| 46 #endif // defined(OS_WIN) | 46 #endif // defined(OS_WIN) |
| 47 | 47 |
| 48 namespace task_manager { | 48 namespace task_manager { |
| 49 | 49 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 if (!g_browser_process->local_state()) | 357 if (!g_browser_process->local_state()) |
| 358 return; | 358 return; |
| 359 | 359 |
| 360 const base::DictionaryValue* dictionary = | 360 const base::DictionaryValue* dictionary = |
| 361 g_browser_process->local_state()->GetDictionary(GetWindowName()); | 361 g_browser_process->local_state()->GetDictionary(GetWindowName()); |
| 362 if (dictionary) | 362 if (dictionary) |
| 363 dictionary->GetBoolean("always_on_top", &is_always_on_top_); | 363 dictionary->GetBoolean("always_on_top", &is_always_on_top_); |
| 364 } | 364 } |
| 365 | 365 |
| 366 } // namespace task_manager | 366 } // namespace task_manager |
| OLD | NEW |