| OLD | NEW |
| 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 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2239 } | 2239 } |
| 2240 | 2240 |
| 2241 bool RenderWidgetHostImpl::ShouldDropInputEvents() const { | 2241 bool RenderWidgetHostImpl::ShouldDropInputEvents() const { |
| 2242 return ignore_input_events_ || process_->IgnoreInputEvents() || !delegate_; | 2242 return ignore_input_events_ || process_->IgnoreInputEvents() || !delegate_; |
| 2243 } | 2243 } |
| 2244 | 2244 |
| 2245 void RenderWidgetHostImpl::SetBackgroundOpaque(bool opaque) { | 2245 void RenderWidgetHostImpl::SetBackgroundOpaque(bool opaque) { |
| 2246 Send(new ViewMsg_SetBackgroundOpaque(GetRoutingID(), opaque)); | 2246 Send(new ViewMsg_SetBackgroundOpaque(GetRoutingID(), opaque)); |
| 2247 } | 2247 } |
| 2248 | 2248 |
| 2249 void RenderWidgetHostImpl::SetBaseBackgroundColor(SkColor color) { |
| 2250 Send(new ViewMsg_SetBaseBackgroundColor(GetRoutingID(), color)); |
| 2251 } |
| 2252 |
| 2249 void RenderWidgetHostImpl::ExecuteEditCommand(const std::string& command, | 2253 void RenderWidgetHostImpl::ExecuteEditCommand(const std::string& command, |
| 2250 const std::string& value) { | 2254 const std::string& value) { |
| 2251 Send(new InputMsg_ExecuteEditCommand(GetRoutingID(), command, value)); | 2255 Send(new InputMsg_ExecuteEditCommand(GetRoutingID(), command, value)); |
| 2252 } | 2256 } |
| 2253 | 2257 |
| 2254 void RenderWidgetHostImpl::ScrollFocusedEditableNodeIntoRect( | 2258 void RenderWidgetHostImpl::ScrollFocusedEditableNodeIntoRect( |
| 2255 const gfx::Rect& rect) { | 2259 const gfx::Rect& rect) { |
| 2256 Send(new InputMsg_ScrollFocusedEditableNodeIntoRect(GetRoutingID(), rect)); | 2260 Send(new InputMsg_ScrollFocusedEditableNodeIntoRect(GetRoutingID(), rect)); |
| 2257 } | 2261 } |
| 2258 | 2262 |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2505 // different from the receiver's. | 2509 // different from the receiver's. |
| 2506 file_system_file.url = | 2510 file_system_file.url = |
| 2507 GURL(storage::GetIsolatedFileSystemRootURIString( | 2511 GURL(storage::GetIsolatedFileSystemRootURIString( |
| 2508 file_system_url.origin(), filesystem_id, std::string()) | 2512 file_system_url.origin(), filesystem_id, std::string()) |
| 2509 .append(register_name)); | 2513 .append(register_name)); |
| 2510 file_system_file.filesystem_id = filesystem_id; | 2514 file_system_file.filesystem_id = filesystem_id; |
| 2511 } | 2515 } |
| 2512 } | 2516 } |
| 2513 | 2517 |
| 2514 } // namespace content | 2518 } // namespace content |
| OLD | NEW |