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

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

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 5 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
« no previous file with comments | « ui/views/controls/prefix_selector_unittest.cc ('k') | ui/views/controls/textfield/textfield.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) 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 UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // View overrides: 211 // View overrides:
212 gfx::Insets GetInsets() const override; 212 gfx::Insets GetInsets() const override;
213 int GetBaseline() const override; 213 int GetBaseline() const override;
214 gfx::Size GetPreferredSize() const override; 214 gfx::Size GetPreferredSize() const override;
215 const char* GetClassName() const override; 215 const char* GetClassName() const override;
216 gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override; 216 gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override;
217 bool OnMousePressed(const ui::MouseEvent& event) override; 217 bool OnMousePressed(const ui::MouseEvent& event) override;
218 bool OnMouseDragged(const ui::MouseEvent& event) override; 218 bool OnMouseDragged(const ui::MouseEvent& event) override;
219 void OnMouseReleased(const ui::MouseEvent& event) override; 219 void OnMouseReleased(const ui::MouseEvent& event) override;
220 bool OnKeyPressed(const ui::KeyEvent& event) override; 220 bool OnKeyPressed(const ui::KeyEvent& event) override;
221 ui::TextInputClient* GetTextInputClient() override;
222 void OnGestureEvent(ui::GestureEvent* event) override; 221 void OnGestureEvent(ui::GestureEvent* event) override;
223 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 222 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
224 void AboutToRequestFocusFromTabTraversal(bool reverse) override; 223 void AboutToRequestFocusFromTabTraversal(bool reverse) override;
225 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; 224 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override;
226 bool GetDropFormats( 225 bool GetDropFormats(
227 int* formats, 226 int* formats,
228 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) override; 227 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) override;
229 bool CanDrop(const ui::OSExchangeData& data) override; 228 bool CanDrop(const ui::OSExchangeData& data) override;
230 int OnDragUpdated(const ui::DropTargetEvent& event) override; 229 int OnDragUpdated(const ui::DropTargetEvent& event) override;
231 void OnDragExited() override; 230 void OnDragExited() override;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 484
486 // Used to bind callback functions to this object. 485 // Used to bind callback functions to this object.
487 base::WeakPtrFactory<Textfield> weak_ptr_factory_; 486 base::WeakPtrFactory<Textfield> weak_ptr_factory_;
488 487
489 DISALLOW_COPY_AND_ASSIGN(Textfield); 488 DISALLOW_COPY_AND_ASSIGN(Textfield);
490 }; 489 };
491 490
492 } // namespace views 491 } // namespace views
493 492
494 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 493 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW
« no previous file with comments | « ui/views/controls/prefix_selector_unittest.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698