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

Side by Side Diff: chrome/browser/chooser_controller/chooser_controller.cc

Issue 2304213002: Show device connection and paired status in chooser on Mac (Closed)
Patch Set: use vector icons 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 #include "chrome/browser/chooser_controller/chooser_controller.h" 5 #include "chrome/browser/chooser_controller/chooser_controller.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "components/url_formatter/elide_url.h" 8 #include "components/url_formatter/elide_url.h"
9 #include "content/public/browser/render_frame_host.h" 9 #include "content/public/browser/render_frame_host.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 origin, url_formatter::SchemeDisplay::OMIT_CRYPTOGRAPHIC)); 51 origin, url_formatter::SchemeDisplay::OMIT_CRYPTOGRAPHIC));
52 } 52 }
53 53
54 bool ChooserController::ShouldShowIconBeforeText() const { 54 bool ChooserController::ShouldShowIconBeforeText() const {
55 return false; 55 return false;
56 } 56 }
57 57
58 int ChooserController::GetSignalStrengthLevel(size_t index) const { 58 int ChooserController::GetSignalStrengthLevel(size_t index) const {
59 return -1; 59 return -1;
60 } 60 }
61
62 bool ChooserController::IsConnected(size_t index) const {
63 return false;
64 }
65
66 bool ChooserController::IsPaired(size_t index) const {
67 return false;
68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698