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

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

Issue 2654323002: harmony: convert device chooser (Closed)
Patch Set: nits Created 3 years, 10 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/device_chooser_content_view.cc
diff --git a/chrome/browser/ui/views/device_chooser_content_view.cc b/chrome/browser/ui/views/device_chooser_content_view.cc
index 966571e71e1c270890ec6a8540bf654ad57ec42d..6946d8709d805ee8d7be79dbef4f24053b9f9423 100644
--- a/chrome/browser/ui/views/device_chooser_content_view.cc
+++ b/chrome/browser/ui/views/device_chooser_content_view.cc
@@ -23,10 +23,6 @@
namespace {
-const int kChooserWidth = 370;
-
-const int kChooserHeight = 260;
-
const int kThrobberDiameter = 24;
const int kAdapterOffHelpLinkPadding = 5;
@@ -95,10 +91,6 @@ DeviceChooserContentView::~DeviceChooserContentView() {
table_view_->SetModel(nullptr);
}
-gfx::Size DeviceChooserContentView::GetPreferredSize() const {
- return gfx::Size(kChooserWidth, kChooserHeight);
-}
-
void DeviceChooserContentView::Layout() {
gfx::Rect rect(GetContentsBounds());
table_parent_->SetBoundsRect(rect);

Powered by Google App Engine
This is Rietveld 408576698