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

Side by Side Diff: chrome/browser/ui/views/webshare/webshare_target_picker_view.cc

Issue 2907933002: Views/Harmony Remove references to ui/views/layout/layout_constants.h (Closed)
Patch Set: Remove unused dialog_insets 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc ('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 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/webshare/webshare_target_picker_view.h" 5 #include "chrome/browser/ui/views/webshare/webshare_target_picker_view.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/ui/browser_dialogs.h" 8 #include "chrome/browser/ui/browser_dialogs.h"
9 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" 9 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
10 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
11 #include "components/constrained_window/constrained_window_views.h" 11 #include "components/constrained_window/constrained_window_views.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/base/models/table_model.h" 13 #include "ui/base/models/table_model.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 #include "ui/views/controls/label.h" 15 #include "ui/views/controls/label.h"
16 #include "ui/views/controls/table/table_view.h" 16 #include "ui/views/controls/table/table_view.h"
17 #include "ui/views/layout/box_layout.h" 17 #include "ui/views/layout/box_layout.h"
18 #include "ui/views/layout/layout_constants.h"
19 #include "ui/views/window/dialog_client_view.h" 18 #include "ui/views/window/dialog_client_view.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
22 namespace { 21 namespace {
23 22
24 int kDialogWidth = 500; 23 int kDialogWidth = 500;
25 int kDialogHeight = 400; 24 int kDialogHeight = 400;
26 25
27 } 26 }
28 27
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return true; 166 return true;
168 } 167 }
169 168
170 void WebShareTargetPickerView::OnSelectionChanged() { 169 void WebShareTargetPickerView::OnSelectionChanged() {
171 GetDialogClientView()->UpdateDialogButtons(); 170 GetDialogClientView()->UpdateDialogButtons();
172 } 171 }
173 172
174 void WebShareTargetPickerView::OnDoubleClick() { 173 void WebShareTargetPickerView::OnDoubleClick() {
175 GetDialogClientView()->AcceptWindow(); 174 GetDialogClientView()->AcceptWindow();
176 } 175 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698