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

Side by Side Diff: chrome/browser/chromeos/options/network_config_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 explicit ControlledSettingIndicatorView(const NetworkPropertyUIData& ui_data); 157 explicit ControlledSettingIndicatorView(const NetworkPropertyUIData& ui_data);
158 virtual ~ControlledSettingIndicatorView(); 158 virtual ~ControlledSettingIndicatorView();
159 159
160 // Updates the view based on |ui_data|. 160 // Updates the view based on |ui_data|.
161 void Update(const NetworkPropertyUIData& ui_data); 161 void Update(const NetworkPropertyUIData& ui_data);
162 162
163 protected: 163 protected:
164 // views::View: 164 // views::View:
165 virtual gfx::Size GetPreferredSize() OVERRIDE; 165 virtual gfx::Size GetPreferredSize() OVERRIDE;
166 virtual void Layout() OVERRIDE; 166 virtual void Layout() OVERRIDE;
167 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; 167 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
168 virtual void OnMouseExited(const views::MouseEvent& event) OVERRIDE; 168 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
169 169
170 private: 170 private:
171 // Initializes the view. 171 // Initializes the view.
172 void Init(); 172 void Init();
173 173
174 bool managed_; 174 bool managed_;
175 views::ImageView* image_view_; 175 views::ImageView* image_view_;
176 const gfx::ImageSkia* gray_image_; 176 const gfx::ImageSkia* gray_image_;
177 const gfx::ImageSkia* color_image_; 177 const gfx::ImageSkia* color_image_;
178 178
179 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); 179 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView);
180 }; 180 };
181 181
182 } // namespace chromeos 182 } // namespace chromeos
183 183
184 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ 184 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/candidate_window.cc ('k') | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698