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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 442433002: Not allowing user to type more chars than max length value for text field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: few nits resolved Created 6 years, 4 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 BrowserAccessibilityDelegate* delegate); 152 BrowserAccessibilityDelegate* delegate);
153 153
154 virtual void AccessibilityShowMenu(const gfx::Point& point); 154 virtual void AccessibilityShowMenu(const gfx::Point& point);
155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); 155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
156 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); 156 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget();
157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); 157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible();
158 158
159 virtual SkColorType PreferredReadbackFormat(); 159 virtual SkColorType PreferredReadbackFormat();
160 160
161 // Informs that the focused DOM node has changed. 161 // Informs that the focused DOM node has changed.
162 virtual void FocusedNodeChanged(bool is_editable_node) {} 162 virtual void FocusedNodeChanged(bool is_editable_node,
163 int editable_node_max_length) {}
163 164
164 virtual void OnSwapCompositorFrame(uint32 output_surface_id, 165 virtual void OnSwapCompositorFrame(uint32 output_surface_id,
165 scoped_ptr<cc::CompositorFrame> frame) {} 166 scoped_ptr<cc::CompositorFrame> frame) {}
166 167
167 // Because the associated remote WebKit instance can asynchronously 168 // Because the associated remote WebKit instance can asynchronously
168 // prevent-default on a dispatched touch event, the touch events are queued in 169 // prevent-default on a dispatched touch event, the touch events are queued in
169 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases 170 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases
170 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) 171 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS)
171 // or ignored (when |ack_result| is CONSUMED). 172 // or ignored (when |ack_result| is CONSUMED).
172 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 173 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 uint32 renderer_frame_number_; 428 uint32 renderer_frame_number_;
428 429
429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 430 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
430 431
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
432 }; 433 };
433 434
434 } // namespace content 435 } // namespace content
435 436
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698