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

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

Issue 135863002: Reland Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle Ctrl-Shift-Delete and Backspace on Linux, like on ChromeOS. 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 #include <queue> 10 #include <queue>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE; 50 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE;
51 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; 51 virtual void GestureEventAck(int gesture_event_type) OVERRIDE;
52 virtual void OnViewDestroyed() OVERRIDE; 52 virtual void OnViewDestroyed() OVERRIDE;
53 53
54 // Overridden from ui::TouchEditable: 54 // Overridden from ui::TouchEditable:
55 virtual void SelectRect(const gfx::Point& start, 55 virtual void SelectRect(const gfx::Point& start,
56 const gfx::Point& end) OVERRIDE; 56 const gfx::Point& end) OVERRIDE;
57 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; 57 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE;
58 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; 58 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE;
59 virtual gfx::Rect GetBounds() OVERRIDE; 59 virtual gfx::Rect GetBounds() OVERRIDE;
60 virtual gfx::NativeView GetNativeView() OVERRIDE; 60 virtual gfx::NativeView GetNativeView() const OVERRIDE;
61 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; 61 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE;
62 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; 62 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE;
63 virtual bool DrawsHandles() OVERRIDE; 63 virtual bool DrawsHandles() OVERRIDE;
64 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; 64 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE;
65 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 65 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
66 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 66 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
67 virtual bool GetAcceleratorForCommandId( 67 virtual bool GetAcceleratorForCommandId(
68 int command_id, 68 int command_id,
69 ui::Accelerator* accelerator) OVERRIDE; 69 ui::Accelerator* accelerator) OVERRIDE;
70 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 70 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // this queue to keep track of the the tap count so that we can distinguish 109 // this queue to keep track of the the tap count so that we can distinguish
110 // between double and single tap when we get the ack. 110 // between double and single tap when we get the ack.
111 std::queue<int> tap_gesture_tap_count_queue_; 111 std::queue<int> tap_gesture_tap_count_queue_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); 113 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura);
114 }; 114 };
115 115
116 } // namespace content 116 } // namespace content
117 117
118 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ 118 #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