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

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

Issue 2758323002: Broke out layout metric information from ViewsDelegate to LayoutProvider (Closed)
Patch Set: Final feedback addressed 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/sad_tab_view.h" 5 #include "chrome/browser/ui/views/sad_tab_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "chrome/app/vector_icons/vector_icons.h" 11 #include "chrome/app/vector_icons/vector_icons.h"
12 #include "chrome/browser/ui/views/harmony/layout_delegate.h"
13 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
14 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/color_palette.h" 15 #include "ui/gfx/color_palette.h"
17 #include "ui/gfx/paint_vector_icon.h" 16 #include "ui/gfx/paint_vector_icon.h"
18 #include "ui/native_theme/common_theme.h" 17 #include "ui/native_theme/common_theme.h"
19 #include "ui/native_theme/native_theme.h" 18 #include "ui/native_theme/native_theme.h"
20 #include "ui/views/background.h" 19 #include "ui/views/background.h"
21 #include "ui/views/controls/button/md_text_button.h" 20 #include "ui/views/controls/button/md_text_button.h"
22 #include "ui/views/controls/image_view.h" 21 #include "ui/views/controls/image_view.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 166 }
168 167
169 namespace chrome { 168 namespace chrome {
170 169
171 SadTab* SadTab::Create(content::WebContents* web_contents, 170 SadTab* SadTab::Create(content::WebContents* web_contents,
172 SadTabKind kind) { 171 SadTabKind kind) {
173 return new SadTabView(web_contents, kind); 172 return new SadTabView(web_contents, kind);
174 } 173 }
175 174
176 } // namespace chrome 175 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698