OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "remoting/host/chromeos/clipboard_aura.h" | 5 #include "remoting/host/clipboard_aura.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 #include "remoting/base/constants.h" | 10 #include "remoting/base/constants.h" |
11 #include "remoting/proto/event.pb.h" | 11 #include "remoting/proto/event.pb.h" |
12 #include "remoting/protocol/clipboard_stub.h" | 12 #include "remoting/protocol/clipboard_stub.h" |
13 #include "ui/base/clipboard/clipboard.h" | 13 #include "ui/base/clipboard/clipboard.h" |
14 #include "ui/base/clipboard/scoped_clipboard_writer.h" | 14 #include "ui/base/clipboard/scoped_clipboard_writer.h" |
15 | 15 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 client_clipboard_->InjectClipboardEvent(event); | 143 client_clipboard_->InjectClipboardEvent(event); |
144 } | 144 } |
145 | 145 |
146 scoped_ptr<Clipboard> Clipboard::Create() { | 146 scoped_ptr<Clipboard> Clipboard::Create() { |
147 return make_scoped_ptr( | 147 return make_scoped_ptr( |
148 new ClipboardAura(content::BrowserThread::GetMessageLoopProxyForThread( | 148 new ClipboardAura(content::BrowserThread::GetMessageLoopProxyForThread( |
149 content::BrowserThread::UI))); | 149 content::BrowserThread::UI))); |
150 } | 150 } |
151 | 151 |
152 } // namespace remoting | 152 } // namespace remoting |
OLD | NEW |