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

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

Issue 533403002: Fix touch selection for Athena home card (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check kContainerParamsKey property to find containers Created 6 years, 3 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
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 virtual bool GetDropFormats( 218 virtual bool GetDropFormats(
219 int* formats, 219 int* formats,
220 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE; 220 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE;
221 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; 221 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE;
222 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; 222 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE;
223 virtual void OnDragExited() OVERRIDE; 223 virtual void OnDragExited() OVERRIDE;
224 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; 224 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
225 virtual void OnDragDone() OVERRIDE; 225 virtual void OnDragDone() OVERRIDE;
226 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; 226 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
227 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 227 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
228 virtual bool NeedsNotificationWhenVisibleBoundsChange() const OVERRIDE;
229 virtual void OnVisibleBoundsChanged() OVERRIDE;
228 virtual void OnEnabledChanged() OVERRIDE; 230 virtual void OnEnabledChanged() OVERRIDE;
229 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 231 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
230 virtual void OnFocus() OVERRIDE; 232 virtual void OnFocus() OVERRIDE;
231 virtual void OnBlur() OVERRIDE; 233 virtual void OnBlur() OVERRIDE;
232 virtual gfx::Point GetKeyboardContextMenuLocation() OVERRIDE; 234 virtual gfx::Point GetKeyboardContextMenuLocation() OVERRIDE;
233 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE; 235 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
234 236
235 // TextfieldModel::Delegate overrides: 237 // TextfieldModel::Delegate overrides:
236 virtual void OnCompositionTextConfirmedOrCleared() OVERRIDE; 238 virtual void OnCompositionTextConfirmedOrCleared() OVERRIDE;
237 239
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 470
469 // Used to bind callback functions to this object. 471 // Used to bind callback functions to this object.
470 base::WeakPtrFactory<Textfield> weak_ptr_factory_; 472 base::WeakPtrFactory<Textfield> weak_ptr_factory_;
471 473
472 DISALLOW_COPY_AND_ASSIGN(Textfield); 474 DISALLOW_COPY_AND_ASSIGN(Textfield);
473 }; 475 };
474 476
475 } // namespace views 477 } // namespace views
476 478
477 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 479 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698