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

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

Issue 6675005: Integrate the new input method API for Views into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; 207 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE;
208 virtual bool SkipDefaultKeyEventProcessing(const KeyEvent& e) OVERRIDE; 208 virtual bool SkipDefaultKeyEventProcessing(const KeyEvent& e) OVERRIDE;
209 virtual void SetEnabled(bool enabled) OVERRIDE; 209 virtual void SetEnabled(bool enabled) OVERRIDE;
210 virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; 210 virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE;
211 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE; 211 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
212 virtual bool OnKeyPressed(const views::KeyEvent& e) OVERRIDE; 212 virtual bool OnKeyPressed(const views::KeyEvent& e) OVERRIDE;
213 virtual bool OnKeyReleased(const views::KeyEvent& e) OVERRIDE; 213 virtual bool OnKeyReleased(const views::KeyEvent& e) OVERRIDE;
214 virtual void OnFocus() OVERRIDE; 214 virtual void OnFocus() OVERRIDE;
215 virtual void OnBlur() OVERRIDE; 215 virtual void OnBlur() OVERRIDE;
216 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 216 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
217 virtual TextInputClient* GetTextInputClient() OVERRIDE;
217 218
218 protected: 219 protected:
219 virtual void ViewHierarchyChanged(bool is_add, View* parent, 220 virtual void ViewHierarchyChanged(bool is_add, View* parent,
220 View* child) OVERRIDE; 221 View* child) OVERRIDE;
221 virtual std::string GetClassName() const OVERRIDE; 222 virtual std::string GetClassName() const OVERRIDE;
222 223
223 // The object that actually implements the native text field. 224 // The object that actually implements the native text field.
224 NativeTextfieldWrapper* native_wrapper_; 225 NativeTextfieldWrapper* native_wrapper_;
225 226
226 private: 227 private:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 284
284 // The accessible name of the text field. 285 // The accessible name of the text field.
285 string16 accessible_name_; 286 string16 accessible_name_;
286 287
287 DISALLOW_COPY_AND_ASSIGN(Textfield); 288 DISALLOW_COPY_AND_ASSIGN(Textfield);
288 }; 289 };
289 290
290 } // namespace views 291 } // namespace views
291 292
292 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 293 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698