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

Side by Side Diff: chrome/browser/ui/views/harmony/layout_delegate.cc

Issue 2746223002: Harmony - update Chrome Cleanup tool prompt dialog. (Closed)
Patch Set: Added test with a file 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/harmony/layout_delegate.h ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/harmony/layout_delegate.h" 5 #include "chrome/browser/ui/views/harmony/layout_delegate.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/ui/views/chrome_views_delegate.h" 9 #include "chrome/browser/ui/views/chrome_views_delegate.h"
10 #include "chrome/browser/ui/views/harmony/harmony_layout_delegate.h" 10 #include "chrome/browser/ui/views/harmony/harmony_layout_delegate.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 views::GridLayout::Alignment LayoutDelegate::GetControlLabelGridAlignment() 71 views::GridLayout::Alignment LayoutDelegate::GetControlLabelGridAlignment()
72 const { 72 const {
73 return views::GridLayout::TRAILING; 73 return views::GridLayout::TRAILING;
74 } 74 }
75 75
76 bool LayoutDelegate::UseExtraDialogPadding() const { 76 bool LayoutDelegate::UseExtraDialogPadding() const {
77 return true; 77 return true;
78 } 78 }
79 79
80 bool LayoutDelegate::ShouldShowWindowIcon() const {
81 return true;
82 }
83
80 bool LayoutDelegate::IsHarmonyMode() const { 84 bool LayoutDelegate::IsHarmonyMode() const {
81 return false; 85 return false;
82 } 86 }
83 87
84 int LayoutDelegate::GetDialogPreferredWidth(DialogWidth width) const { 88 int LayoutDelegate::GetDialogPreferredWidth(DialogWidth width) const {
85 return 0; 89 return 0;
86 } 90 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/harmony/layout_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698