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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 void ReleaseSoftwareFrame(uint32 output_surface_id, | 559 void ReleaseSoftwareFrame(uint32 output_surface_id, |
560 unsigned software_frame_id); | 560 unsigned software_frame_id); |
561 | 561 |
562 void DidReceiveFrameFromRenderer(); | 562 void DidReceiveFrameFromRenderer(); |
563 | 563 |
564 BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager(); | 564 BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager(); |
565 | 565 |
566 // Helper function to set keyboard focus to the main window. | 566 // Helper function to set keyboard focus to the main window. |
567 void SetKeyboardFocus(); | 567 void SetKeyboardFocus(); |
568 | 568 |
569 #if defined(OS_WIN) | |
570 // Updates the total list of cutout rects, which is the union of transient | |
571 // windows and constrained windows. | |
572 void UpdateCutoutRects(); | |
573 #endif | |
574 | |
575 // The model object. | 569 // The model object. |
576 RenderWidgetHostImpl* host_; | 570 RenderWidgetHostImpl* host_; |
577 | 571 |
578 aura::Window* window_; | 572 aura::Window* window_; |
579 | 573 |
580 scoped_ptr<WindowObserver> window_observer_; | 574 scoped_ptr<WindowObserver> window_observer_; |
581 | 575 |
582 // Are we in the process of closing? Tracked so fullscreen views can avoid | 576 // Are we in the process of closing? Tracked so fullscreen views can avoid |
583 // sending a second shutdown request to the host when they lose the focus | 577 // sending a second shutdown request to the host when they lose the focus |
584 // after requesting shutdown for another reason (e.g. Escape key). | 578 // after requesting shutdown for another reason (e.g. Escape key). |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 // passed to windowless plugins like Flash/Silverlight, etc as the | 779 // passed to windowless plugins like Flash/Silverlight, etc as the |
786 // container window. | 780 // container window. |
787 HWND plugin_parent_window_; | 781 HWND plugin_parent_window_; |
788 #endif | 782 #endif |
789 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 783 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
790 }; | 784 }; |
791 | 785 |
792 } // namespace content | 786 } // namespace content |
793 | 787 |
794 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 788 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |