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

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

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 | « content/browser/renderer_host/render_widget_host_impl.h ('k') | no next file » | 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 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <set> 9 #include <set>
10 #include <tuple> 10 #include <tuple>
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 } 2242 }
2243 2243
2244 bool RenderWidgetHostImpl::ShouldDropInputEvents() const { 2244 bool RenderWidgetHostImpl::ShouldDropInputEvents() const {
2245 return ignore_input_events_ || process_->IgnoreInputEvents() || !delegate_; 2245 return ignore_input_events_ || process_->IgnoreInputEvents() || !delegate_;
2246 } 2246 }
2247 2247
2248 void RenderWidgetHostImpl::SetBackgroundOpaque(bool opaque) { 2248 void RenderWidgetHostImpl::SetBackgroundOpaque(bool opaque) {
2249 Send(new ViewMsg_SetBackgroundOpaque(GetRoutingID(), opaque)); 2249 Send(new ViewMsg_SetBackgroundOpaque(GetRoutingID(), opaque));
2250 } 2250 }
2251 2251
2252 void RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent(
2253 const std::vector<EditCommand>& commands) {
2254 Send(new InputMsg_SetEditCommandsForNextKeyEvent(GetRoutingID(), commands));
2255 }
2256
2257 void RenderWidgetHostImpl::ExecuteEditCommand(const std::string& command, 2252 void RenderWidgetHostImpl::ExecuteEditCommand(const std::string& command,
2258 const std::string& value) { 2253 const std::string& value) {
2259 Send(new InputMsg_ExecuteEditCommand(GetRoutingID(), command, value)); 2254 Send(new InputMsg_ExecuteEditCommand(GetRoutingID(), command, value));
2260 } 2255 }
2261 2256
2262 void RenderWidgetHostImpl::ScrollFocusedEditableNodeIntoRect( 2257 void RenderWidgetHostImpl::ScrollFocusedEditableNodeIntoRect(
2263 const gfx::Rect& rect) { 2258 const gfx::Rect& rect) {
2264 Send(new InputMsg_ScrollFocusedEditableNodeIntoRect(GetRoutingID(), rect)); 2259 Send(new InputMsg_ScrollFocusedEditableNodeIntoRect(GetRoutingID(), rect));
2265 } 2260 }
2266 2261
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2526 // different from the receiver's. 2521 // different from the receiver's.
2527 file_system_file.url = 2522 file_system_file.url =
2528 GURL(storage::GetIsolatedFileSystemRootURIString( 2523 GURL(storage::GetIsolatedFileSystemRootURIString(
2529 file_system_url.origin(), filesystem_id, std::string()) 2524 file_system_url.origin(), filesystem_id, std::string())
2530 .append(register_name)); 2525 .append(register_name));
2531 file_system_file.filesystem_id = filesystem_id; 2526 file_system_file.filesystem_id = filesystem_id;
2532 } 2527 }
2533 } 2528 }
2534 2529
2535 } // namespace content 2530 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698