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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <string> | 10 #include <string> |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 bool can_compose_inline); | 492 bool can_compose_inline); |
493 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 493 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
494 void OnMsgImeCancelComposition(); | 494 void OnMsgImeCancelComposition(); |
495 | 495 |
496 void OnMsgDidActivateAcceleratedCompositing(bool activated); | 496 void OnMsgDidActivateAcceleratedCompositing(bool activated); |
497 | 497 |
498 void OnMsgLockMouse(bool user_gesture); | 498 void OnMsgLockMouse(bool user_gesture); |
499 void OnMsgUnlockMouse(); | 499 void OnMsgUnlockMouse(); |
500 | 500 |
501 #if defined(OS_POSIX) || defined(USE_AURA) | 501 #if defined(OS_POSIX) || defined(USE_AURA) |
| 502 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
| 503 WebKit::WebScreenInfo* results); |
502 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 504 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
503 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 505 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
504 #endif | 506 #endif |
505 #if defined(OS_MACOSX) | 507 #if defined(OS_MACOSX) |
506 void OnMsgPluginFocusChanged(bool focused, int plugin_id); | 508 void OnMsgPluginFocusChanged(bool focused, int plugin_id); |
507 void OnMsgStartPluginIme(); | 509 void OnMsgStartPluginIme(); |
508 void OnAllocateFakePluginWindowHandle(bool opaque, | 510 void OnAllocateFakePluginWindowHandle(bool opaque, |
509 bool root, | 511 bool root, |
510 gfx::PluginWindowHandle* id); | 512 gfx::PluginWindowHandle* id); |
511 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 513 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 728 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
727 | 729 |
728 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 730 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
729 | 731 |
730 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 732 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
731 }; | 733 }; |
732 | 734 |
733 } // namespace content | 735 } // namespace content |
734 | 736 |
735 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 737 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |