Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 150073002: Fix windowed plugins not appearing if opened in the background until the browser resizes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/test/data/windowed_npapi_plugin.html ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698