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

Side by Side Diff: chrome/browser/extensions/api/file_system/request_file_system_dialog_view.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 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/extensions/api/file_system/request_file_system_dialog_v iew.h" 5 #include "chrome/browser/extensions/api/file_system/request_file_system_dialog_v iew.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstdlib> 9 #include <cstdlib>
10 10
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "chrome/grit/generated_resources.h" 13 #include "chrome/grit/generated_resources.h"
14 #include "components/constrained_window/constrained_window_views.h" 14 #include "components/constrained_window/constrained_window_views.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/gfx/font.h" 17 #include "ui/gfx/font.h"
18 #include "ui/gfx/range/range.h" 18 #include "ui/gfx/range/range.h"
19 #include "ui/views/controls/styled_label.h" 19 #include "ui/views/controls/styled_label.h"
20 #include "ui/views/layout/box_layout.h" 20 #include "ui/views/layout/box_layout.h"
21 #include "ui/views/layout/layout_constants.h" 21 #include "ui/views/layout/layout_constants.h"
22 22
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 bold_style); 133 bold_style);
134 134
135 views::BoxLayout* const layout = new views::BoxLayout( 135 views::BoxLayout* const layout = new views::BoxLayout(
136 views::BoxLayout::kHorizontal, views::kButtonHEdgeMarginNew, 136 views::BoxLayout::kHorizontal, views::kButtonHEdgeMarginNew,
137 views::kPanelVertMargin, 0); 137 views::kPanelVertMargin, 0);
138 contents_view_->SetLayoutManager(layout); 138 contents_view_->SetLayoutManager(layout);
139 139
140 label->SizeToFit(kDialogMaxWidth - 2 * views::kButtonHEdgeMarginNew); 140 label->SizeToFit(kDialogMaxWidth - 2 * views::kButtonHEdgeMarginNew);
141 contents_view_->AddChildView(label); 141 contents_view_->AddChildView(label);
142 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698