| 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_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const base::string16& new_option_name, | 51 const base::string16& new_option_name, |
| 52 int new_signal_strengh_level, | 52 int new_signal_strengh_level, |
| 53 int new_connected_paired_status); | 53 int new_connected_paired_status); |
| 54 | 54 |
| 55 static const int kNoSignalStrengthLevelImage; | 55 static const int kNoSignalStrengthLevelImage; |
| 56 static const int kSignalStrengthLevel0Bar; | 56 static const int kSignalStrengthLevel0Bar; |
| 57 static const int kSignalStrengthLevel1Bar; | 57 static const int kSignalStrengthLevel1Bar; |
| 58 static const int kSignalStrengthLevel2Bar; | 58 static const int kSignalStrengthLevel2Bar; |
| 59 static const int kSignalStrengthLevel3Bar; | 59 static const int kSignalStrengthLevel3Bar; |
| 60 static const int kSignalStrengthLevel4Bar; | 60 static const int kSignalStrengthLevel4Bar; |
| 61 static const int kImageColorUnselected; |
| 62 static const int kImageColorSelected; |
| 61 | 63 |
| 62 private: | 64 private: |
| 63 void ClearAllOptions(); | 65 void ClearAllOptions(); |
| 64 | 66 |
| 65 struct OptionInfo { | 67 struct OptionInfo { |
| 66 base::string16 name; | 68 base::string16 name; |
| 67 int signal_strength_level; | 69 int signal_strength_level; |
| 68 // This value is the '|' of ConnectedPairedStatus values. | 70 // This value is the '|' of ConnectedPairedStatus values. |
| 69 int connected_paired_status; | 71 int connected_paired_status; |
| 70 }; | 72 }; |
| 71 | 73 |
| 72 std::vector<OptionInfo> options_; | 74 std::vector<OptionInfo> options_; |
| 73 base::string16 no_options_text_; | 75 base::string16 no_options_text_; |
| 74 base::string16 status_text_; | 76 base::string16 status_text_; |
| 75 | 77 |
| 76 DISALLOW_COPY_AND_ASSIGN(MockChooserController); | 78 DISALLOW_COPY_AND_ASSIGN(MockChooserController); |
| 77 }; | 79 }; |
| 78 | 80 |
| 79 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ | 81 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ |
| OLD | NEW |