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

Side by Side Diff: chrome/browser/views/about_chrome_view.h

Issue 115825: Move text_field.cc and rename the class to Textfield in preparation for porti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/browser/input_window_dialog_win.cc ('k') | chrome/browser/views/about_chrome_view.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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_ABOUT_CHROME_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_
7 7
8 #include "chrome/browser/google_update.h" 8 #include "chrome/browser/google_update.h"
9 #include "views/controls/image_view.h" 9 #include "views/controls/image_view.h"
10 #include "views/controls/label.h" 10 #include "views/controls/label.h"
11 #include "views/controls/link.h" 11 #include "views/controls/link.h"
12 #include "views/view.h" 12 #include "views/view.h"
13 #include "views/window/dialog_delegate.h" 13 #include "views/window/dialog_delegate.h"
14 14
15 namespace views { 15 namespace views {
16 class TextField; 16 class Textfield;
17 class Throbber; 17 class Throbber;
18 class Window; 18 class Window;
19 } 19 }
20 20
21 class Profile; 21 class Profile;
22 22
23 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
24 // 24 //
25 // The AboutChromeView class is responsible for drawing the UI controls of the 25 // The AboutChromeView class is responsible for drawing the UI controls of the
26 // About Chrome dialog that allows the user to see what version is installed 26 // About Chrome dialog that allows the user to see what version is installed
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 void WrapIfWordDoesntFit(int word_width, 119 void WrapIfWordDoesntFit(int word_width,
120 int font_height, 120 int font_height,
121 gfx::Size* position, 121 gfx::Size* position,
122 const gfx::Rect& bounds); 122 const gfx::Rect& bounds);
123 123
124 Profile* profile_; 124 Profile* profile_;
125 125
126 // UI elements on the dialog. 126 // UI elements on the dialog.
127 views::ImageView* about_dlg_background_logo_; 127 views::ImageView* about_dlg_background_logo_;
128 views::Label* about_title_label_; 128 views::Label* about_title_label_;
129 views::TextField* version_label_; 129 views::Textfield* version_label_;
130 views::Label* copyright_label_; 130 views::Label* copyright_label_;
131 views::Label* main_text_label_; 131 views::Label* main_text_label_;
132 int main_text_label_height_; 132 int main_text_label_height_;
133 views::Link* chromium_url_; 133 views::Link* chromium_url_;
134 gfx::Rect chromium_url_rect_; 134 gfx::Rect chromium_url_rect_;
135 views::Link* open_source_url_; 135 views::Link* open_source_url_;
136 gfx::Rect open_source_url_rect_; 136 gfx::Rect open_source_url_rect_;
137 views::Link* terms_of_service_url_; 137 views::Link* terms_of_service_url_;
138 gfx::Rect terms_of_service_url_rect_; 138 gfx::Rect terms_of_service_url_rect_;
139 // UI elements we add to the parent view. 139 // UI elements we add to the parent view.
(...skipping 30 matching lines...) Expand all
170 // The version Google Update reports is available to us. 170 // The version Google Update reports is available to us.
171 std::wstring new_version_available_; 171 std::wstring new_version_available_;
172 172
173 // Whether text direction is left-to-right or right-to-left. 173 // Whether text direction is left-to-right or right-to-left.
174 bool text_direction_is_rtl_; 174 bool text_direction_is_rtl_;
175 175
176 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); 176 DISALLOW_COPY_AND_ASSIGN(AboutChromeView);
177 }; 177 };
178 178
179 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ 179 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/input_window_dialog_win.cc ('k') | chrome/browser/views/about_chrome_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698