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

Unified Diff: apps/moterm/moterm_view.h

Issue 1322103006: Moterm: Plumb responses back to the terminal File. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
Index: apps/moterm/moterm_view.h
diff --git a/apps/moterm/moterm_view.h b/apps/moterm/moterm_view.h
index 72b06e08f2d82b5d206325b77150ae7cec8635c2..3a242c9a0fb2402f59d17f5ab8125faa7e4f6c7e 100644
--- a/apps/moterm/moterm_view.h
+++ b/apps/moterm/moterm_view.h
@@ -28,6 +28,7 @@ class Shell;
class MotermView : public mojo::ViewObserver,
public GlHelper::Client,
+ public MotermModel::Delegate,
public MotermDriver::Client,
public mojo::InterfaceFactory<mojo::terminal::Terminal>,
public mojo::terminal::Terminal {
@@ -51,6 +52,9 @@ class MotermView : public mojo::ViewObserver,
void OnContextLost() override;
void OnFrameDisplayed(uint32_t frame_id) override;
+ // |MotermModel::Delegate|:
+ void OnResponse(const void* buf, size_t size) override;
+
// |MotermDriver::Client|:
void OnDataReceived(const void* bytes, size_t num_bytes) override;
void OnClosed() override;

Powered by Google App Engine
This is Rietveld 408576698