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 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1327 Send(new ViewMsg_ImeSetComposition(GetRoutingID(), string16(), | 1327 Send(new ViewMsg_ImeSetComposition(GetRoutingID(), string16(), |
1328 std::vector<blink::WebCompositionUnderline>(), 0, 0)); | 1328 std::vector<blink::WebCompositionUnderline>(), 0, 0)); |
1329 } | 1329 } |
1330 | 1330 |
1331 void RenderWidgetHostImpl::ExtendSelectionAndDelete( | 1331 void RenderWidgetHostImpl::ExtendSelectionAndDelete( |
1332 size_t before, | 1332 size_t before, |
1333 size_t after) { | 1333 size_t after) { |
1334 Send(new ViewMsg_ExtendSelectionAndDelete(GetRoutingID(), before, after)); | 1334 Send(new ViewMsg_ExtendSelectionAndDelete(GetRoutingID(), before, after)); |
1335 } | 1335 } |
1336 | 1336 |
1337 void RenderWidgetHostImpl::FocusedNodeChanged(bool is_editable_node) { | |
jamesr
2013/11/15 23:02:46
hmm, why do you need the trip to the base class? i
aurimas (slooooooooow)
2013/11/20 00:25:44
Done.
| |
1338 if (view_) | |
1339 view_->FocusedNodeChanged(is_editable_node); | |
1340 } | |
1341 | |
1337 gfx::Rect RenderWidgetHostImpl::GetRootWindowResizerRect() const { | 1342 gfx::Rect RenderWidgetHostImpl::GetRootWindowResizerRect() const { |
1338 return gfx::Rect(); | 1343 return gfx::Rect(); |
1339 } | 1344 } |
1340 | 1345 |
1341 void RenderWidgetHostImpl::RequestToLockMouse(bool user_gesture, | 1346 void RenderWidgetHostImpl::RequestToLockMouse(bool user_gesture, |
1342 bool last_unlocked_by_target) { | 1347 bool last_unlocked_by_target) { |
1343 // Directly reject to lock the mouse. Subclass can override this method to | 1348 // Directly reject to lock the mouse. Subclass can override this method to |
1344 // decide whether to allow mouse lock or not. | 1349 // decide whether to allow mouse lock or not. |
1345 GotResponseToLockMouseRequest(false); | 1350 GotResponseToLockMouseRequest(false); |
1346 } | 1351 } |
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2477 continue; | 2482 continue; |
2478 } | 2483 } |
2479 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); | 2484 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); |
2480 if (rwhi_set.insert(rwhi).second) | 2485 if (rwhi_set.insert(rwhi).second) |
2481 rwhi->FrameSwapped(latency_info); | 2486 rwhi->FrameSwapped(latency_info); |
2482 } | 2487 } |
2483 } | 2488 } |
2484 } | 2489 } |
2485 | 2490 |
2486 } // namespace content | 2491 } // namespace content |
OLD | NEW |