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

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

Issue 2750463009: mash: Fix ShelfItem mojo struct; add enums and traits. (Closed)
Patch Set: Address comment. Created 3 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
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698