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

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

Issue 2643643010: Remove unused RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.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) 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 } 425 }
426 426
427 // Whether forwarded WebInputEvents should be dropped. 427 // Whether forwarded WebInputEvents should be dropped.
428 bool ShouldDropInputEvents() const; 428 bool ShouldDropInputEvents() const;
429 429
430 bool has_touch_handler() const { return has_touch_handler_; } 430 bool has_touch_handler() const { return has_touch_handler_; }
431 431
432 // Set the RenderView background transparency. 432 // Set the RenderView background transparency.
433 void SetBackgroundOpaque(bool opaque); 433 void SetBackgroundOpaque(bool opaque);
434 434
435 // Notifies the renderer that the next key event is bound to one or more
436 // pre-defined edit commands
437 void SetEditCommandsForNextKeyEvent(
438 const std::vector<EditCommand>& commands);
439
440 // Executes the edit command. 435 // Executes the edit command.
441 void ExecuteEditCommand(const std::string& command, 436 void ExecuteEditCommand(const std::string& command,
442 const std::string& value); 437 const std::string& value);
443 438
444 // Tells the renderer to scroll the currently focused node into rect only if 439 // Tells the renderer to scroll the currently focused node into rect only if
445 // the currently focused node is a Text node (textfield, text area or content 440 // the currently focused node is a Text node (textfield, text area or content
446 // editable divs). 441 // editable divs).
447 void ScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 442 void ScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
448 443
449 // Requests the renderer to move the caret selection towards the point. 444 // Requests the renderer to move the caret selection towards the point.
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 #endif 904 #endif
910 905
911 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 906 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
912 907
913 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 908 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
914 }; 909 };
915 910
916 } // namespace content 911 } // namespace content
917 912
918 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 913 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698