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

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

Issue 2821413002: views: support dialog width snapping once and for all (Closed)
Patch Set: fix failing unittest Created 3 years, 8 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/chrome_layout_provider.h" 5 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "chrome/browser/ui/views/harmony/chrome_typography.h" 9 #include "chrome/browser/ui/views/harmony/chrome_typography.h"
10 #include "chrome/browser/ui/views/harmony/harmony_layout_provider.h" 10 #include "chrome/browser/ui/views/harmony/harmony_layout_provider.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 return true; 76 return true;
77 } 77 }
78 78
79 bool ChromeLayoutProvider::ShouldShowWindowIcon() const { 79 bool ChromeLayoutProvider::ShouldShowWindowIcon() const {
80 return true; 80 return true;
81 } 81 }
82 82
83 bool ChromeLayoutProvider::IsHarmonyMode() const { 83 bool ChromeLayoutProvider::IsHarmonyMode() const {
84 return false; 84 return false;
85 } 85 }
86
87 int ChromeLayoutProvider::GetDialogPreferredWidth(DialogWidth width) const {
88 return 0;
89 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/harmony/chrome_layout_provider.h ('k') | chrome/browser/ui/views/harmony/harmony_layout_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698