| 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 // has already adjusted the origin of |rect| to conform to whatever coordinate | 409 // has already adjusted the origin of |rect| to conform to whatever coordinate |
| 410 // space is required by the aura::Window. | 410 // space is required by the aura::Window. |
| 411 void InternalSetBounds(const gfx::Rect& rect); | 411 void InternalSetBounds(const gfx::Rect& rect); |
| 412 | 412 |
| 413 #if defined(OS_WIN) | 413 #if defined(OS_WIN) |
| 414 bool UsesNativeWindowFrame() const; | 414 bool UsesNativeWindowFrame() const; |
| 415 #endif | 415 #endif |
| 416 | 416 |
| 417 ui::InputMethod* GetInputMethod() const; | 417 ui::InputMethod* GetInputMethod() const; |
| 418 | 418 |
| 419 // Sends shutdown request. | |
| 420 void Shutdown(); | |
| 421 | |
| 422 // Returns whether the widget needs an input grab to work properly. | 419 // Returns whether the widget needs an input grab to work properly. |
| 423 bool NeedsInputGrab(); | 420 bool NeedsInputGrab(); |
| 424 | 421 |
| 425 // Returns whether the widget needs to grab mouse capture to work properly. | 422 // Returns whether the widget needs to grab mouse capture to work properly. |
| 426 bool NeedsMouseCapture(); | 423 bool NeedsMouseCapture(); |
| 427 | 424 |
| 428 // Confirm existing composition text in the webpage and ask the input method | 425 // Confirm existing composition text in the webpage and ask the input method |
| 429 // to cancel its ongoing composition session. | 426 // to cancel its ongoing composition session. |
| 430 void FinishImeCompositionSession(); | 427 void FinishImeCompositionSession(); |
| 431 | 428 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 // view, so we can ensure the window hasn't moved between copying from the | 636 // view, so we can ensure the window hasn't moved between copying from the |
| 640 // compositing surface and showing the disambiguation popup. | 637 // compositing surface and showing the disambiguation popup. |
| 641 gfx::Vector2dF disambiguation_scroll_offset_; | 638 gfx::Vector2dF disambiguation_scroll_offset_; |
| 642 | 639 |
| 643 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 640 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 644 }; | 641 }; |
| 645 | 642 |
| 646 } // namespace content | 643 } // namespace content |
| 647 | 644 |
| 648 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 645 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |