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

Unified Diff: src/d8.h

Issue 1250223002: Remove readline support from d8. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile ('k') | src/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index d63352e353761bc4df9bc2727b0f5500dc476a30..39c3b749316544f7056ea0556f3d6f83c40e2634 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -93,26 +93,6 @@ class CounterMap {
#endif // !V8_SHARED
-class LineEditor {
- public:
- enum Type { DUMB = 0, READLINE = 1 };
- LineEditor(Type type, const char* name);
- virtual ~LineEditor() { }
-
- virtual Local<String> Prompt(const char* prompt) = 0;
- virtual bool Open(Isolate* isolate) { return true; }
- virtual bool Close() { return true; }
- virtual void AddHistory(const char* str) { }
-
- const char* name() { return name_; }
- static LineEditor* Get() { return current_; }
- private:
- Type type_;
- const char* name_;
- static LineEditor* current_;
-};
-
-
class SourceGroup {
public:
SourceGroup() :
@@ -380,8 +360,6 @@ class Shell : public i::AllStatic {
const SerializationData& data,
int* offset);
static void CleanupWorkers();
- static Local<Array> GetCompletions(Isolate* isolate, Local<String> text,
- Local<String> full);
static int* LookupCounter(const char* name);
static void* CreateHistogram(const char* name,
int min,
« no previous file with comments | « Makefile ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698