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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.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_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 void OnRouteCloseEvent(); 474 void OnRouteCloseEvent();
475 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 475 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
476 void OnStartDragging(const DropData& drop_data, 476 void OnStartDragging(const DropData& drop_data,
477 blink::WebDragOperationsMask operations_allowed, 477 blink::WebDragOperationsMask operations_allowed,
478 const SkBitmap& bitmap, 478 const SkBitmap& bitmap,
479 const gfx::Vector2d& bitmap_offset_in_dip, 479 const gfx::Vector2d& bitmap_offset_in_dip,
480 const DragEventSourceInfo& event_info); 480 const DragEventSourceInfo& event_info);
481 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 481 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
482 void OnTargetDropACK(); 482 void OnTargetDropACK();
483 void OnTakeFocus(bool reverse); 483 void OnTakeFocus(bool reverse);
484 void OnFocusedNodeChanged(bool is_editable_node); 484 void OnFocusedNodeChanged(bool is_editable_node,
485 int editable_node_max_length);
485 void OnUpdateInspectorSetting(const std::string& key, 486 void OnUpdateInspectorSetting(const std::string& key,
486 const std::string& value); 487 const std::string& value);
487 void OnClosePageACK(); 488 void OnClosePageACK();
488 void OnDidZoomURL(double zoom_level, const GURL& url); 489 void OnDidZoomURL(double zoom_level, const GURL& url);
489 void OnRunFileChooser(const FileChooserParams& params); 490 void OnRunFileChooser(const FileChooserParams& params);
490 void OnFocusedNodeTouched(bool editable); 491 void OnFocusedNodeTouched(bool editable);
491 492
492 #if defined(OS_MACOSX) || defined(OS_ANDROID) 493 #if defined(OS_MACOSX) || defined(OS_ANDROID)
493 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); 494 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params);
494 void OnHidePopup(); 495 void OnHidePopup();
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 611 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
611 }; 612 };
612 613
613 #if defined(COMPILER_MSVC) 614 #if defined(COMPILER_MSVC)
614 #pragma warning(pop) 615 #pragma warning(pop)
615 #endif 616 #endif
616 617
617 } // namespace content 618 } // namespace content
618 619
619 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 620 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698