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