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

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: updated the kBluetoothAdapterOffHelpURL 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* turn_adapter_off_help_for_test() const {
78 return turn_adapter_off_help_;
79 }
77 80
78 private: 81 private:
79 std::unique_ptr<ChooserController> chooser_controller_; 82 std::unique_ptr<ChooserController> chooser_controller_;
80 views::TableView* table_view_; // Weak. 83 views::TableView* table_view_ = nullptr; // Weak.
81 views::Throbber* throbber_; // Weak. 84 views::Throbber* throbber_ = nullptr; // Weak.
82 views::Link* discovery_state_ = nullptr; // Weak. 85 views::Link* turn_adapter_off_help_ = nullptr; // Weak.
83 views::StyledLabel* styled_label_ = nullptr; // Weak. 86 views::Link* discovery_state_ = nullptr; // Weak.
87 views::StyledLabel* styled_label_ = nullptr; // Weak.
84 88
85 DISALLOW_COPY_AND_ASSIGN(ChooserContentView); 89 DISALLOW_COPY_AND_ASSIGN(ChooserContentView);
86 }; 90 };
87 91
88 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ 92 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698