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

Unified Diff: chrome/browser/ui/views/sad_tab_view.cc

Issue 2934503002: Remove references to ui/views/layout/layout_constants.h (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index c62972db9261b49b855a1a1e61a7ce66d7b443cb..68217447434047981713b65636075517282db81e 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -43,7 +43,7 @@ views::Label* CreateFormattedLabel(const base::string16& message) {
label->SetMultiLine(true);
label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
label->SetLineHeight(ChromeLayoutProvider::Get()->GetDistanceMetric(
- DISTANCE_UNRELATED_CONTROL_VERTICAL));
+ views::DISTANCE_UNRELATED_CONTROL_VERTICAL));
return label;
}
@@ -143,7 +143,7 @@ SadTabView::SadTabView(content::WebContents* web_contents,
views::GridLayout::LEADING);
layout->AddPaddingRow(2, provider->GetDistanceMetric(
- DISTANCE_UNRELATED_CONTROL_VERTICAL));
+ views::DISTANCE_UNRELATED_CONTROL_VERTICAL));
views::Widget::InitParams sad_tab_params(
views::Widget::InitParams::TYPE_CONTROL);
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698