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

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

Issue 2344133003: Add help link when Bluetooth adapter is off for WebBluetooth chooser (Closed)
Patch Set: rebase Created 4 years, 3 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_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"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 views::Link* CreateExtraView(); 67 views::Link* CreateExtraView();
68 // Ownership of the view is passed to the caller. 68 // Ownership of the view is passed to the caller.
69 views::StyledLabel* CreateFootnoteView(); 69 views::StyledLabel* CreateFootnoteView();
70 void Accept(); 70 void Accept();
71 void Cancel(); 71 void Cancel();
72 void Close(); 72 void Close();
73 void UpdateTableView(); 73 void UpdateTableView();
74 74
75 views::TableView* table_view_for_test() const { return table_view_; } 75 views::TableView* table_view_for_test() const { return table_view_; }
76 views::Throbber* throbber_for_test() const { return throbber_; } 76 views::Throbber* throbber_for_test() const { return throbber_; }
77 views::Link* adapter_off_help_for_test() const { return adapter_off_help_; }
77 78
78 private: 79 private:
79 std::unique_ptr<ChooserController> chooser_controller_; 80 std::unique_ptr<ChooserController> chooser_controller_;
80 views::TableView* table_view_; // Weak. 81 views::TableView* table_view_; // Weak.
81 views::Throbber* throbber_; // Weak. 82 views::Throbber* throbber_; // Weak.
83 views::Link* adapter_off_help_; // Weak.
sky 2016/09/18 16:06:27 turn_adapter_off_help_?
juncai 2016/09/19 19:55:24 Done.
82 views::Link* discovery_state_ = nullptr; // Weak. 84 views::Link* discovery_state_ = nullptr; // Weak.
83 views::StyledLabel* styled_label_ = nullptr; // Weak. 85 views::StyledLabel* styled_label_ = nullptr; // Weak.
84 86
85 DISALLOW_COPY_AND_ASSIGN(ChooserContentView); 87 DISALLOW_COPY_AND_ASSIGN(ChooserContentView);
86 }; 88 };
87 89
88 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ 90 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698