| 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_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 | 407 |
| 408 #if defined(OS_WIN) | 408 #if defined(OS_WIN) |
| 409 bool UsesNativeWindowFrame() const; | 409 bool UsesNativeWindowFrame() const; |
| 410 #endif | 410 #endif |
| 411 | 411 |
| 412 ui::InputMethod* GetInputMethod() const; | 412 ui::InputMethod* GetInputMethod() const; |
| 413 | 413 |
| 414 // Sends shutdown request. | 414 // Sends shutdown request. |
| 415 void Shutdown(); | 415 void Shutdown(); |
| 416 | 416 |
| 417 // Returns whether the widget needs an input grab to work properly. | |
| 418 bool NeedsInputGrab(); | |
| 419 | |
| 420 // Returns whether the widget needs to grab mouse capture to work properly. | |
| 421 bool NeedsMouseCapture(); | |
| 422 | |
| 423 // Confirm existing composition text in the webpage and ask the input method | 417 // Confirm existing composition text in the webpage and ask the input method |
| 424 // to cancel its ongoing composition session. | 418 // to cancel its ongoing composition session. |
| 425 void FinishImeCompositionSession(); | 419 void FinishImeCompositionSession(); |
| 426 | 420 |
| 427 // This method computes movementX/Y and keeps track of mouse location for | 421 // This method computes movementX/Y and keeps track of mouse location for |
| 428 // mouse lock on all mouse move events. | 422 // mouse lock on all mouse move events. |
| 429 void ModifyEventMovementAndCoords(blink::WebMouseEvent* event); | 423 void ModifyEventMovementAndCoords(blink::WebMouseEvent* event); |
| 430 | 424 |
| 431 // Sends an IPC to the renderer process to communicate whether or not | 425 // Sends an IPC to the renderer process to communicate whether or not |
| 432 // the mouse cursor is visible anywhere on the screen. | 426 // the mouse cursor is visible anywhere on the screen. |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 // compositing surface and showing the disambiguation popup. | 618 // compositing surface and showing the disambiguation popup. |
| 625 gfx::Vector2dF disambiguation_scroll_offset_; | 619 gfx::Vector2dF disambiguation_scroll_offset_; |
| 626 | 620 |
| 627 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 621 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 628 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 622 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 629 }; | 623 }; |
| 630 | 624 |
| 631 } // namespace content | 625 } // namespace content |
| 632 | 626 |
| 633 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 627 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |