OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 void OnMsgTextInputStateChanged(ui::TextInputType type, | 538 void OnMsgTextInputStateChanged(ui::TextInputType type, |
539 bool can_compose_inline); | 539 bool can_compose_inline); |
540 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 540 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
541 void OnMsgImeCancelComposition(); | 541 void OnMsgImeCancelComposition(); |
542 | 542 |
543 void OnMsgDidActivateAcceleratedCompositing(bool activated); | 543 void OnMsgDidActivateAcceleratedCompositing(bool activated); |
544 | 544 |
545 void OnMsgLockMouse(); | 545 void OnMsgLockMouse(); |
546 void OnMsgUnlockMouse(); | 546 void OnMsgUnlockMouse(); |
547 | 547 |
548 #if defined(OS_POSIX) | 548 #if defined(OS_POSIX) || defined(USE_AURA) |
549 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 549 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
550 WebKit::WebScreenInfo* results); | 550 WebKit::WebScreenInfo* results); |
551 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 551 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
552 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 552 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
553 #endif | 553 #endif |
554 #if defined(OS_MACOSX) | 554 #if defined(OS_MACOSX) |
555 void OnMsgPluginFocusChanged(bool focused, int plugin_id); | 555 void OnMsgPluginFocusChanged(bool focused, int plugin_id); |
556 void OnMsgStartPluginIme(); | 556 void OnMsgStartPluginIme(); |
557 void OnAllocateFakePluginWindowHandle(bool opaque, | 557 void OnAllocateFakePluginWindowHandle(bool opaque, |
558 bool root, | 558 bool root, |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 gfx::Point last_scroll_offset_; | 767 gfx::Point last_scroll_offset_; |
768 | 768 |
769 bool pending_mouse_lock_request_; | 769 bool pending_mouse_lock_request_; |
770 | 770 |
771 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; | 771 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; |
772 | 772 |
773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
774 }; | 774 }; |
775 | 775 |
776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |