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

Unified Diff: ui/aura/remote_root_window_host_win.h

Issue 22876030: Remove using the Shell desktop Window when we don't have an acceleated widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/remote_root_window_host_win.h
===================================================================
--- ui/aura/remote_root_window_host_win.h (revision 217576)
+++ ui/aura/remote_root_window_host_win.h (working copy)
@@ -86,12 +86,15 @@
// frontend process, which forwards input events to this class.
class AURA_EXPORT RemoteRootWindowHostWin : public RootWindowHost {
public:
+ // Returns the only RemoteRootWindowHostWin, if this is the first time
+ // this function is called, it will call Create() wiht empty bounds.
static RemoteRootWindowHostWin* Instance();
static RemoteRootWindowHostWin* Create(const gfx::Rect& bounds);
// Called when the remote process has established its IPC connection.
- // The |host| can be used when we need to send a message to it.
- void Connected(IPC::Sender* host);
+ // The |host| can be used when we need to send a message to it and
+ // |remote_window| is the actual window owned by the viewer process.
+ void Connected(IPC::Sender* host, HWND remote_window);
// Called when the remote process has closed its IPC connection.
void Disconnected();
@@ -203,6 +206,7 @@
uint32 flags,
bool is_character);
+ HWND remote_window_;
RootWindowHostDelegate* delegate_;
IPC::Sender* host_;
scoped_ptr<ui::ViewProp> prop_;
« no previous file with comments | « chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc ('k') | ui/aura/remote_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698