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

Side by Side Diff: ui/aura/remote_root_window_host_win.h

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Win compilation take 2 + rebase Created 7 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
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 UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const string16& default_extension, 63 const string16& default_extension,
64 const SaveFileCompletion& callback); 64 const SaveFileCompletion& callback);
65 65
66 66
67 // RootWindowHost implementaton that receives events from a different 67 // RootWindowHost implementaton that receives events from a different
68 // process. In the case of Windows this is the Windows 8 (aka Metro) 68 // process. In the case of Windows this is the Windows 8 (aka Metro)
69 // frontend process, which forwards input events to this class. 69 // frontend process, which forwards input events to this class.
70 class AURA_EXPORT RemoteRootWindowHostWin : public RootWindowHost { 70 class AURA_EXPORT RemoteRootWindowHostWin : public RootWindowHost {
71 public: 71 public:
72 static RemoteRootWindowHostWin* Instance(); 72 static RemoteRootWindowHostWin* Instance();
73 static RemoteRootWindowHostWin* Create(const gfx::Rect& bounds); 73 static RemoteRootWindowHostWin* Create(const gfx::Rect& bounds,
74 bool is_internal_display);
74 75
75 // Called when the remote process has established its IPC connection. 76 // Called when the remote process has established its IPC connection.
76 // The |host| can be used when we need to send a message to it. 77 // The |host| can be used when we need to send a message to it.
77 void Connected(IPC::Sender* host); 78 void Connected(IPC::Sender* host);
78 // Called when the remote process has closed its IPC connection. 79 // Called when the remote process has closed its IPC connection.
79 void Disconnected(); 80 void Disconnected();
80 81
81 // Called when we have a message from the remote process. 82 // Called when we have a message from the remote process.
82 bool OnMessageReceived(const IPC::Message& message); 83 bool OnMessageReceived(const IPC::Message& message);
83 84
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 OpenFileCompletion file_open_completion_callback_; 174 OpenFileCompletion file_open_completion_callback_;
174 OpenMultipleFilesCompletion multi_file_open_completion_callback_; 175 OpenMultipleFilesCompletion multi_file_open_completion_callback_;
175 SaveFileCompletion file_saveas_completion_callback_; 176 SaveFileCompletion file_saveas_completion_callback_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); 178 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin);
178 }; 179 };
179 180
180 } // namespace aura 181 } // namespace aura
181 182
182 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 183 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698