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

Side by Side Diff: runtime/bin/stdio_fuchsia.cc

Issue 2753233002: [dart:io] Move Platform.ansiSupported to {Stdin,Stdout}.supportsAnsiEscapes (Closed)
Patch Set: Fix typo Created 3 years, 9 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if !defined(DART_IO_DISABLED) 5 #if !defined(DART_IO_DISABLED)
6 6
7 #include "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(HOST_OS_FUCHSIA) 8 #if defined(HOST_OS_FUCHSIA)
9 9
10 #include "bin/stdio.h" 10 #include "bin/stdio.h"
(...skipping 24 matching lines...) Expand all
35 return false; 35 return false;
36 } 36 }
37 37
38 38
39 bool Stdin::SetLineMode(bool enabled) { 39 bool Stdin::SetLineMode(bool enabled) {
40 UNIMPLEMENTED(); 40 UNIMPLEMENTED();
41 return false; 41 return false;
42 } 42 }
43 43
44 44
45 bool Stdin::AnsiSupported(bool* supported) {
46 UNIMPLEMENTED();
47 return false;
48 }
49
50
45 bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) { 51 bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) {
46 UNIMPLEMENTED(); 52 UNIMPLEMENTED();
47 return false; 53 return false;
48 } 54 }
49 55
56
57 bool Stdout::AnsiSupported(intptr_t fd, bool* supported) {
58 UNIMPLEMENTED();
59 return false;
60 }
61
50 } // namespace bin 62 } // namespace bin
51 } // namespace dart 63 } // namespace dart
52 64
53 #endif // defined(HOST_OS_FUCHSIA) 65 #endif // defined(HOST_OS_FUCHSIA)
54 66
55 #endif // !defined(DART_IO_DISABLED) 67 #endif // !defined(DART_IO_DISABLED)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698