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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 void SendSoftwareFrameAck(uint32 output_surface_id); | 581 void SendSoftwareFrameAck(uint32 output_surface_id); |
582 void SendReclaimSoftwareFrames(); | 582 void SendReclaimSoftwareFrames(); |
583 void ReleaseSoftwareFrame(uint32 output_surface_id, | 583 void ReleaseSoftwareFrame(uint32 output_surface_id, |
584 unsigned software_frame_id); | 584 unsigned software_frame_id); |
585 | 585 |
586 void DidReceiveFrameFromRenderer(); | 586 void DidReceiveFrameFromRenderer(); |
587 | 587 |
588 // Helper function to set keyboard focus to the main window. | 588 // Helper function to set keyboard focus to the main window. |
589 void SetKeyboardFocus(); | 589 void SetKeyboardFocus(); |
590 | 590 |
591 #if defined(OS_WIN) | |
592 // Updates the total list of cutout rects, which is the union of transient | |
593 // windows and constrained windows. | |
594 void UpdateCutoutRects(); | |
595 #endif | |
596 | |
597 // The model object. | 591 // The model object. |
598 RenderWidgetHostImpl* host_; | 592 RenderWidgetHostImpl* host_; |
599 | 593 |
600 aura::Window* window_; | 594 aura::Window* window_; |
601 | 595 |
602 scoped_ptr<WindowObserver> window_observer_; | 596 scoped_ptr<WindowObserver> window_observer_; |
603 | 597 |
604 // Are we in the process of closing? Tracked so fullscreen views can avoid | 598 // Are we in the process of closing? Tracked so fullscreen views can avoid |
605 // sending a second shutdown request to the host when they lose the focus | 599 // sending a second shutdown request to the host when they lose the focus |
606 // after requesting shutdown for another reason (e.g. Escape key). | 600 // after requesting shutdown for another reason (e.g. Escape key). |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 // passed to windowless plugins like Flash/Silverlight, etc as the | 802 // passed to windowless plugins like Flash/Silverlight, etc as the |
809 // container window. | 803 // container window. |
810 HWND plugin_parent_window_; | 804 HWND plugin_parent_window_; |
811 #endif | 805 #endif |
812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 806 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
813 }; | 807 }; |
814 | 808 |
815 } // namespace content | 809 } // namespace content |
816 | 810 |
817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 811 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |