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

Side by Side Diff: chrome/browser/chooser_controller/mock_chooser_controller.h

Issue 2380903002: Revert of Update image and text color when row is selected in the chooser on Mac (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chooser_controller/mock_chooser_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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
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;
63 61
64 private: 62 private:
65 void ClearAllOptions(); 63 void ClearAllOptions();
66 64
67 struct OptionInfo { 65 struct OptionInfo {
68 base::string16 name; 66 base::string16 name;
69 int signal_strength_level; 67 int signal_strength_level;
70 // This value is the '|' of ConnectedPairedStatus values. 68 // This value is the '|' of ConnectedPairedStatus values.
71 int connected_paired_status; 69 int connected_paired_status;
72 }; 70 };
73 71
74 std::vector<OptionInfo> options_; 72 std::vector<OptionInfo> options_;
75 base::string16 no_options_text_; 73 base::string16 no_options_text_;
76 base::string16 status_text_; 74 base::string16 status_text_;
77 75
78 DISALLOW_COPY_AND_ASSIGN(MockChooserController); 76 DISALLOW_COPY_AND_ASSIGN(MockChooserController);
79 }; 77 };
80 78
81 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_ 79 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_MOCK_CHOOSER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chooser_controller/mock_chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698