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

Side by Side Diff: chrome/browser/ui/views/device_chooser_content_view.h

Issue 2654323002: harmony: convert device chooser (Closed)
Patch Set: s/gfx::Size()// 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 public ui::TableModel, 28 public ui::TableModel,
29 public ChooserController::View, 29 public ChooserController::View,
30 public views::StyledLabelListener { 30 public views::StyledLabelListener {
31 public: 31 public:
32 DeviceChooserContentView( 32 DeviceChooserContentView(
33 views::TableViewObserver* table_view_observer, 33 views::TableViewObserver* table_view_observer,
34 std::unique_ptr<ChooserController> chooser_controller); 34 std::unique_ptr<ChooserController> chooser_controller);
35 ~DeviceChooserContentView() override; 35 ~DeviceChooserContentView() override;
36 36
37 // views::View: 37 // views::View:
38 gfx::Size GetPreferredSize() const override;
39 void Layout() override; 38 void Layout() override;
40 39
41 // ui::TableModel: 40 // ui::TableModel:
42 int RowCount() override; 41 int RowCount() override;
43 base::string16 GetText(int row, int column_id) override; 42 base::string16 GetText(int row, int column_id) override;
44 void SetObserver(ui::TableModelObserver* observer) override; 43 void SetObserver(ui::TableModelObserver* observer) override;
45 gfx::ImageSkia GetIcon(int row) override; 44 gfx::ImageSkia GetIcon(int row) override;
46 45
47 // ChooserController::View: 46 // ChooserController::View:
48 void OnOptionsInitialized() override; 47 void OnOptionsInitialized() override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 base::string16 help_text_; 87 base::string16 help_text_;
89 base::string16 help_and_scanning_text_; 88 base::string16 help_and_scanning_text_;
90 base::string16 help_and_re_scan_text_; 89 base::string16 help_and_re_scan_text_;
91 gfx::Range help_text_range_; 90 gfx::Range help_text_range_;
92 gfx::Range re_scan_text_range_; 91 gfx::Range re_scan_text_range_;
93 92
94 DISALLOW_COPY_AND_ASSIGN(DeviceChooserContentView); 93 DISALLOW_COPY_AND_ASSIGN(DeviceChooserContentView);
95 }; 94 };
96 95
97 #endif // CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_ 96 #endif // CHROME_BROWSER_UI_VIEWS_DEVICE_CHOOSER_CONTENT_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.cc ('k') | chrome/browser/ui/views/device_chooser_content_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698