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

Side by Side Diff: content/browser/web_contents/touch_editable_impl_aura.h

Issue 120503005: Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify Textfield border code. Created 6 years, 11 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 | « chrome/chrome_tests_unit.gypi ('k') | content/browser/web_contents/touch_editable_impl_aura.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE; 49 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE;
50 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; 50 virtual void GestureEventAck(int gesture_event_type) OVERRIDE;
51 virtual void OnViewDestroyed() OVERRIDE; 51 virtual void OnViewDestroyed() OVERRIDE;
52 52
53 // Overridden from ui::TouchEditable: 53 // Overridden from ui::TouchEditable:
54 virtual void SelectRect(const gfx::Point& start, 54 virtual void SelectRect(const gfx::Point& start,
55 const gfx::Point& end) OVERRIDE; 55 const gfx::Point& end) OVERRIDE;
56 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; 56 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE;
57 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; 57 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE;
58 virtual gfx::Rect GetBounds() OVERRIDE; 58 virtual gfx::Rect GetBounds() OVERRIDE;
59 virtual gfx::NativeView GetNativeView() OVERRIDE; 59 virtual gfx::NativeView GetNativeView() const OVERRIDE;
60 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; 60 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE;
61 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; 61 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE;
62 virtual bool DrawsHandles() OVERRIDE; 62 virtual bool DrawsHandles() OVERRIDE;
63 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; 63 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE;
64 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 64 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
65 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 65 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
66 virtual bool GetAcceleratorForCommandId( 66 virtual bool GetAcceleratorForCommandId(
67 int command_id, 67 int command_id,
68 ui::Accelerator* accelerator) OVERRIDE; 68 ui::Accelerator* accelerator) OVERRIDE;
69 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 69 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // this queue to keep track of the the tap count so that we can distinguish 108 // this queue to keep track of the the tap count so that we can distinguish
109 // between double and single tap when we get the ack. 109 // between double and single tap when we get the ack.
110 std::queue<int> tap_gesture_tap_count_queue_; 110 std::queue<int> tap_gesture_tap_count_queue_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); 112 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura);
113 }; 113 };
114 114
115 } // namespace content 115 } // namespace content
116 116
117 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ 117 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/web_contents/touch_editable_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698