| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 bool can_compose_inline); | 646 bool can_compose_inline); |
| 647 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 647 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
| 648 void OnMsgImeCancelComposition(); | 648 void OnMsgImeCancelComposition(); |
| 649 | 649 |
| 650 void OnMsgDidActivateAcceleratedCompositing(bool activated); | 650 void OnMsgDidActivateAcceleratedCompositing(bool activated); |
| 651 | 651 |
| 652 void OnMsgLockMouse(); | 652 void OnMsgLockMouse(); |
| 653 void OnMsgUnlockMouse(); | 653 void OnMsgUnlockMouse(); |
| 654 | 654 |
| 655 #if defined(OS_POSIX) || defined(USE_AURA) | 655 #if defined(OS_POSIX) || defined(USE_AURA) |
| 656 void OnMsgGetScreenInfo(gfx::NativeViewId view, | |
| 657 WebKit::WebScreenInfo* results); | |
| 658 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 656 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 659 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 657 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 660 #endif | 658 #endif |
| 661 #if defined(OS_MACOSX) | 659 #if defined(OS_MACOSX) |
| 662 void OnMsgPluginFocusChanged(bool focused, int plugin_id); | 660 void OnMsgPluginFocusChanged(bool focused, int plugin_id); |
| 663 void OnMsgStartPluginIme(); | 661 void OnMsgStartPluginIme(); |
| 664 void OnAllocateFakePluginWindowHandle(bool opaque, | 662 void OnAllocateFakePluginWindowHandle(bool opaque, |
| 665 bool root, | 663 bool root, |
| 666 gfx::PluginWindowHandle* id); | 664 gfx::PluginWindowHandle* id); |
| 667 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 665 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 // then touch events are sent to the renderer. Otherwise, the touch events are | 859 // then touch events are sent to the renderer. Otherwise, the touch events are |
| 862 // not sent to the renderer. | 860 // not sent to the renderer. |
| 863 bool has_touch_handler_; | 861 bool has_touch_handler_; |
| 864 | 862 |
| 865 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 863 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 866 | 864 |
| 867 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 865 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 868 }; | 866 }; |
| 869 | 867 |
| 870 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 868 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |