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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 1050993004: Route touchmove existence notifications to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/input/input_router_impl.h » ('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 #include "content/browser/browser_plugin/browser_plugin_guest.h" 5 #include "content/browser/browser_plugin/browser_plugin_guest.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/pickle.h" 10 #include "base/pickle.h"
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 return false; 642 return false;
643 } 643 }
644 644
645 IPC_BEGIN_MESSAGE_MAP(BrowserPluginGuest, message) 645 IPC_BEGIN_MESSAGE_MAP(BrowserPluginGuest, message)
646 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCancelComposition, 646 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCancelComposition,
647 OnImeCancelComposition) 647 OnImeCancelComposition)
648 #if defined(OS_MACOSX) || defined(USE_AURA) 648 #if defined(OS_MACOSX) || defined(USE_AURA)
649 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCompositionRangeChanged, 649 IPC_MESSAGE_HANDLER(InputHostMsg_ImeCompositionRangeChanged,
650 OnImeCompositionRangeChanged) 650 OnImeCompositionRangeChanged)
651 #endif 651 #endif
652 IPC_MESSAGE_HANDLER(ViewHostMsg_HasTouchEventHandlers, 652 IPC_MESSAGE_HANDLER(InputHostMsg_HasTouchEventHandlers,
653 OnHasTouchEventHandlers) 653 OnHasTouchEventHandlers)
654 IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnLockMouse) 654 IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnLockMouse)
655 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnShowWidget) 655 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnShowWidget)
656 IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus) 656 IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
657 IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, 657 IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged,
658 OnTextInputStateChanged) 658 OnTextInputStateChanged)
659 IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnUnlockMouse) 659 IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnUnlockMouse)
660 IPC_MESSAGE_UNHANDLED(handled = false) 660 IPC_MESSAGE_UNHANDLED(handled = false)
661 IPC_END_MESSAGE_MAP() 661 IPC_END_MESSAGE_MAP()
662 return handled; 662 return handled;
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 void BrowserPluginGuest::OnImeCompositionRangeChanged( 992 void BrowserPluginGuest::OnImeCompositionRangeChanged(
993 const gfx::Range& range, 993 const gfx::Range& range,
994 const std::vector<gfx::Rect>& character_bounds) { 994 const std::vector<gfx::Rect>& character_bounds) {
995 static_cast<RenderWidgetHostViewBase*>( 995 static_cast<RenderWidgetHostViewBase*>(
996 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged( 996 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged(
997 range, character_bounds); 997 range, character_bounds);
998 } 998 }
999 #endif 999 #endif
1000 1000
1001 } // namespace content 1001 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/input/input_router_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698