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

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

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « views/controls/textfield/native_textfield_wrapper.h ('k') | views/focus/focus_manager.h » ('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 #ifndef VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
7 7
8 #if defined (OS_LINUX) 8 #if defined (OS_LINUX)
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 #endif 10 #endif
11 11
12 #include "app/gfx/font.h" 12 #include "app/gfx/font.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/keyboard_codes.h" 14 #include "base/keyboard_codes.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "views/view.h" 16 #include "views/view.h"
17 #include "third_party/skia/include/core/SkColor.h" 17 #include "third_party/skia/include/core/SkColor.h"
18 18
19 #ifdef UNIT_TEST 19 #ifdef UNIT_TEST
20 #include "base/gfx/native_widget_types.h" 20 #include "app/gfx/native_widget_types.h"
21 #include "views/controls/textfield/native_textfield_wrapper.h" 21 #include "views/controls/textfield/native_textfield_wrapper.h"
22 #endif 22 #endif
23 23
24 namespace views { 24 namespace views {
25 25
26 class NativeTextfieldWrapper; 26 class NativeTextfieldWrapper;
27 27
28 // This class implements a ChromeView that wraps a native text (edit) field. 28 // This class implements a ChromeView that wraps a native text (edit) field.
29 class Textfield : public View { 29 class Textfield : public View {
30 public: 30 public:
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // TODO(beng): remove this once NativeTextfieldWin subclasses 260 // TODO(beng): remove this once NativeTextfieldWin subclasses
261 // NativeControlWin. 261 // NativeControlWin.
262 bool initialized_; 262 bool initialized_;
263 263
264 DISALLOW_COPY_AND_ASSIGN(Textfield); 264 DISALLOW_COPY_AND_ASSIGN(Textfield);
265 }; 265 };
266 266
267 } // namespace views 267 } // namespace views
268 268
269 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 269 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW
« no previous file with comments | « views/controls/textfield/native_textfield_wrapper.h ('k') | views/focus/focus_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698