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 #include "chrome/browser/chooser_controller/mock_chooser_controller.h" | 5 #include "chrome/browser/chooser_controller/mock_chooser_controller.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 view()->OnOptionUpdated(it - options_.begin()); | 147 view()->OnOptionUpdated(it - options_.begin()); |
148 } | 148 } |
149 } | 149 } |
150 | 150 |
151 const int MockChooserController::kNoSignalStrengthLevelImage = -1; | 151 const int MockChooserController::kNoSignalStrengthLevelImage = -1; |
152 const int MockChooserController::kSignalStrengthLevel0Bar = 0; | 152 const int MockChooserController::kSignalStrengthLevel0Bar = 0; |
153 const int MockChooserController::kSignalStrengthLevel1Bar = 1; | 153 const int MockChooserController::kSignalStrengthLevel1Bar = 1; |
154 const int MockChooserController::kSignalStrengthLevel2Bar = 2; | 154 const int MockChooserController::kSignalStrengthLevel2Bar = 2; |
155 const int MockChooserController::kSignalStrengthLevel3Bar = 3; | 155 const int MockChooserController::kSignalStrengthLevel3Bar = 3; |
156 const int MockChooserController::kSignalStrengthLevel4Bar = 4; | 156 const int MockChooserController::kSignalStrengthLevel4Bar = 4; |
| 157 const int MockChooserController::kImageColorUnselected = 0; |
| 158 const int MockChooserController::kImageColorSelected = 1; |
157 | 159 |
158 void MockChooserController::ClearAllOptions() { | 160 void MockChooserController::ClearAllOptions() { |
159 options_.clear(); | 161 options_.clear(); |
160 } | 162 } |
OLD | NEW |