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

Side by Side Diff: components/html_viewer/web_clipboard_impl.cc

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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 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
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
OLDNEW
« no previous file with comments | « components/html_viewer/web_clipboard_impl.h ('k') | components/html_viewer/web_cookie_jar_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698