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

Side by Side Diff: views/controls/text_field.h

Issue 65012: Move skia to DEPS, and put it in third_party. (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 | « views/controls/table/table_view.cc ('k') | views/controls/throbber.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // These classes define a text field widget that can be used in the views UI 5 // These classes define a text field widget that can be used in the views UI
6 // toolkit. 6 // toolkit.
7 7
8 #ifndef VIEWS_CONTROLS_TEXT_FIELD_H_ 8 #ifndef VIEWS_CONTROLS_TEXT_FIELD_H_
9 #define VIEWS_CONTROLS_TEXT_FIELD_H_ 9 #define VIEWS_CONTROLS_TEXT_FIELD_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "app/gfx/chrome_font.h" 13 #include "app/gfx/chrome_font.h"
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "views/view.h" 15 #include "views/view.h"
16 #include "skia/include/SkColor.h" 16 #include "third_party/skia/include/core/SkColor.h"
17 17
18 namespace views { 18 namespace views {
19 19
20 class HWNDView; 20 class HWNDView;
21 21
22 // This class implements a ChromeView that wraps a native text (edit) field. 22 // This class implements a ChromeView that wraps a native text (edit) field.
23 class TextField : public View { 23 class TextField : public View {
24 public: 24 public:
25 // This defines the callback interface for other code to be notified of 25 // This defines the callback interface for other code to be notified of
26 // changes in the state of a text field. 26 // changes in the state of a text field.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 protected: 199 protected:
200 // Calculates the insets for the text field. 200 // Calculates the insets for the text field.
201 void CalculateInsets(gfx::Insets* insets); 201 void CalculateInsets(gfx::Insets* insets);
202 202
203 DISALLOW_COPY_AND_ASSIGN(TextField); 203 DISALLOW_COPY_AND_ASSIGN(TextField);
204 }; 204 };
205 205
206 } // namespace views 206 } // namespace views
207 207
208 #endif // VIEWS_CONTROLS_TEXT_FIELD_H_ 208 #endif // VIEWS_CONTROLS_TEXT_FIELD_H_
OLDNEW
« no previous file with comments | « views/controls/table/table_view.cc ('k') | views/controls/throbber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698