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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_SwapCompositorFrame, | 478 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_SwapCompositorFrame, |
479 OnSwapCompositorFrame(msg)) | 479 OnSwapCompositorFrame(msg)) |
480 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect) | 480 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect) |
481 IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor) | 481 IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor) |
482 IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, | 482 IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, |
483 OnTextInputStateChanged) | 483 OnTextInputStateChanged) |
484 IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnLockMouse) | 484 IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnLockMouse) |
485 IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnUnlockMouse) | 485 IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnUnlockMouse) |
486 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowDisambiguationPopup, | 486 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowDisambiguationPopup, |
487 OnShowDisambiguationPopup) | 487 OnShowDisambiguationPopup) |
488 IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionChanged, OnSelectionChanged) | |
489 IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionBoundsChanged, | 488 IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionBoundsChanged, |
490 OnSelectionBoundsChanged) | 489 OnSelectionBoundsChanged) |
491 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCompositionRangeChanged, | 490 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCompositionRangeChanged, |
492 OnImeCompositionRangeChanged) | 491 OnImeCompositionRangeChanged) |
493 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstPaintAfterLoad, | 492 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstPaintAfterLoad, |
494 OnFirstPaintAfterLoad) | 493 OnFirstPaintAfterLoad) |
495 IPC_MESSAGE_HANDLER(ViewHostMsg_ForwardCompositorProto, | 494 IPC_MESSAGE_HANDLER(ViewHostMsg_ForwardCompositorProto, |
496 OnForwardCompositorProto) | 495 OnForwardCompositorProto) |
497 IPC_MESSAGE_HANDLER(ViewHostMsg_SetNeedsBeginFrames, OnSetNeedsBeginFrames) | 496 IPC_MESSAGE_HANDLER(ViewHostMsg_SetNeedsBeginFrames, OnSetNeedsBeginFrames) |
498 IPC_MESSAGE_UNHANDLED(handled = false) | 497 IPC_MESSAGE_UNHANDLED(handled = false) |
(...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2216 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; | 2215 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; |
2217 } | 2216 } |
2218 | 2217 |
2219 BrowserAccessibilityManager* | 2218 BrowserAccessibilityManager* |
2220 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { | 2219 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { |
2221 return delegate_ ? | 2220 return delegate_ ? |
2222 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; | 2221 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; |
2223 } | 2222 } |
2224 | 2223 |
2225 } // namespace content | 2224 } // namespace content |
OLD | NEW |