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 |
419 // Returns whether the widget needs an input grab to work properly. | 422 // Returns whether the widget needs an input grab to work properly. |
420 bool NeedsInputGrab(); | 423 bool NeedsInputGrab(); |
421 | 424 |
422 // Returns whether the widget needs to grab mouse capture to work properly. | 425 // Returns whether the widget needs to grab mouse capture to work properly. |
423 bool NeedsMouseCapture(); | 426 bool NeedsMouseCapture(); |
424 | 427 |
425 // Confirm existing composition text in the webpage and ask the input method | 428 // Confirm existing composition text in the webpage and ask the input method |
426 // to cancel its ongoing composition session. | 429 // to cancel its ongoing composition session. |
427 void FinishImeCompositionSession(); | 430 void FinishImeCompositionSession(); |
428 | 431 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 // view, so we can ensure the window hasn't moved between copying from the | 639 // view, so we can ensure the window hasn't moved between copying from the |
637 // compositing surface and showing the disambiguation popup. | 640 // compositing surface and showing the disambiguation popup. |
638 gfx::Vector2dF disambiguation_scroll_offset_; | 641 gfx::Vector2dF disambiguation_scroll_offset_; |
639 | 642 |
640 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 643 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
641 }; | 644 }; |
642 | 645 |
643 } // namespace content | 646 } // namespace content |
644 | 647 |
645 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 648 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |