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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 bool can_compose_inline); | 481 bool can_compose_inline); |
482 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 482 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
483 void OnMsgImeCancelComposition(); | 483 void OnMsgImeCancelComposition(); |
484 | 484 |
485 void OnMsgDidActivateAcceleratedCompositing(bool activated); | 485 void OnMsgDidActivateAcceleratedCompositing(bool activated); |
486 | 486 |
487 void OnMsgLockMouse(bool user_gesture, bool last_unlocked_by_target); | 487 void OnMsgLockMouse(bool user_gesture, bool last_unlocked_by_target); |
488 void OnMsgUnlockMouse(); | 488 void OnMsgUnlockMouse(); |
489 | 489 |
490 #if defined(OS_POSIX) || defined(USE_AURA) | 490 #if defined(OS_POSIX) || defined(USE_AURA) |
| 491 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
| 492 WebKit::WebScreenInfo* results); |
491 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 493 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
492 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 494 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
493 #endif | 495 #endif |
494 #if defined(OS_MACOSX) | 496 #if defined(OS_MACOSX) |
495 void OnMsgPluginFocusChanged(bool focused, int plugin_id); | 497 void OnMsgPluginFocusChanged(bool focused, int plugin_id); |
496 void OnMsgStartPluginIme(); | 498 void OnMsgStartPluginIme(); |
497 void OnAllocateFakePluginWindowHandle(bool opaque, | 499 void OnAllocateFakePluginWindowHandle(bool opaque, |
498 bool root, | 500 bool root, |
499 gfx::PluginWindowHandle* id); | 501 gfx::PluginWindowHandle* id); |
500 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 502 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 720 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
719 | 721 |
720 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 722 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
721 | 723 |
722 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 724 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
723 }; | 725 }; |
724 | 726 |
725 } // namespace content | 727 } // namespace content |
726 | 728 |
727 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 729 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |