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 "mojo/services/html_viewer/web_clipboard_impl.h" | 5 #include "components/html_viewer/web_clipboard_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "mojo/services/html_viewer/blink_basic_type_converters.h" | 8 #include "components/html_viewer/blink_basic_type_converters.h" |
9 | 9 |
10 using mojo::Array; | 10 using mojo::Array; |
11 using mojo::Clipboard; | 11 using mojo::Clipboard; |
12 using mojo::Map; | 12 using mojo::Map; |
13 using mojo::String; | 13 using mojo::String; |
14 | 14 |
15 namespace html_viewer { | 15 namespace html_viewer { |
16 namespace { | 16 namespace { |
17 | 17 |
18 void CopyUint64(uint64_t* output, uint64_t input) { | 18 void CopyUint64(uint64_t* output, uint64_t input) { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 return Clipboard::TYPE_COPY_PASTE; | 198 return Clipboard::TYPE_COPY_PASTE; |
199 case BufferSelection: | 199 case BufferSelection: |
200 return Clipboard::TYPE_SELECTION; | 200 return Clipboard::TYPE_SELECTION; |
201 } | 201 } |
202 | 202 |
203 NOTREACHED(); | 203 NOTREACHED(); |
204 return Clipboard::TYPE_COPY_PASTE; | 204 return Clipboard::TYPE_COPY_PASTE; |
205 } | 205 } |
206 | 206 |
207 } // namespace html_viewer | 207 } // namespace html_viewer |
OLD | NEW |