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

Unified Diff: blimp/client/core/render_widget/render_widget_feature.h

Issue 2382733007: Add BlimpDocument, pull out functions in BlimpCompositor. (Closed)
Patch Set: Remove Webkit DEPS modification. Created 4 years, 2 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 | « blimp/client/core/render_widget/mock_render_widget_feature.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/render_widget/render_widget_feature.h
diff --git a/blimp/client/core/render_widget/render_widget_feature.h b/blimp/client/core/render_widget/render_widget_feature.h
index 3fafce5d9f062e659878c0e0c102b208f0d5eab9..d33dfb45117e13fe93a81ce8f8bc798334b3d02a 100644
--- a/blimp/client/core/render_widget/render_widget_feature.h
+++ b/blimp/client/core/render_widget/render_widget_feature.h
@@ -73,14 +73,17 @@ class RenderWidgetFeature : public BlimpMessageProcessor {
std::unique_ptr<BlimpMessageProcessor> processor);
// Sends a WebGestureEvent for |tab_id| to the engine.
- void SendWebGestureEvent(const int tab_id,
- const int render_widget_id,
- const blink::WebGestureEvent& event);
+ // virtual for testing.
+ virtual void SendWebGestureEvent(const int tab_id,
+ const int render_widget_id,
+ const blink::WebGestureEvent& event);
// Sends a CompositorMessage for |tab_id| to the engine.
- void SendCompositorMessage(const int tab_id,
- const int render_widget_id,
- const cc::proto::CompositorMessage& message);
+ // virtual for testing.
+ virtual void SendCompositorMessage(
+ const int tab_id,
+ const int render_widget_id,
+ const cc::proto::CompositorMessage& message);
// Sets a RenderWidgetMessageDelegate to be notified of all incoming
// RenderWidget related messages for |tab_id| from the engine. There can only
« no previous file with comments | « blimp/client/core/render_widget/mock_render_widget_feature.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698