| OLD | NEW |
| 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_CHOOSER_CONTENT_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "chrome/browser/chooser_controller/chooser_controller.h" | 12 #include "chrome/browser/chooser_controller/chooser_controller.h" |
| 13 #include "ui/base/models/table_model.h" | 13 #include "ui/base/models/table_model.h" |
| 14 #include "ui/gfx/range/range.h" | 14 #include "ui/gfx/range/range.h" |
| 15 #include "ui/views/controls/styled_label_listener.h" | 15 #include "ui/views/controls/styled_label_listener.h" |
| 16 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
| 17 | 17 |
| 18 namespace views { | 18 namespace views { |
| 19 class Link; | |
| 20 class StyledLabel; | 19 class StyledLabel; |
| 21 class TableView; | 20 class TableView; |
| 22 class TableViewObserver; | 21 class TableViewObserver; |
| 23 class Throbber; | 22 class Throbber; |
| 24 } | 23 } |
| 25 | 24 |
| 26 // A bubble or dialog view for choosing among several options in a table. | 25 // A bubble or dialog view for choosing among several options in a table. |
| 27 // Used for WebUSB/WebBluetooth device selection for Chrome and extensions. | 26 // Used for WebUSB/WebBluetooth device selection for Chrome and extensions. |
| 28 // | 27 // |
| 29 // TODO(juncai): change ChooserContentView class name to be more specific. | 28 // TODO(juncai): change ChooserContentView class name to be more specific. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 base::string16 help_text_; | 90 base::string16 help_text_; |
| 92 base::string16 help_and_scanning_text_; | 91 base::string16 help_and_scanning_text_; |
| 93 base::string16 help_and_re_scan_text_; | 92 base::string16 help_and_re_scan_text_; |
| 94 gfx::Range help_text_range_; | 93 gfx::Range help_text_range_; |
| 95 gfx::Range re_scan_text_range_; | 94 gfx::Range re_scan_text_range_; |
| 96 | 95 |
| 97 DISALLOW_COPY_AND_ASSIGN(ChooserContentView); | 96 DISALLOW_COPY_AND_ASSIGN(ChooserContentView); |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ | 99 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ |
| OLD | NEW |