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

Unified Diff: content/renderer/gpu/compositor_thread.h

Issue 9633014: Remove dead code left over from old-style WebCompositor initialization path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/gpu/compositor_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_thread.h
diff --git a/content/renderer/gpu/compositor_thread.h b/content/renderer/gpu/compositor_thread.h
index 15843b8854d8145b081f80aefe729d4b32801b9e..b037f561aae96f0c3d30287b432b31a09ca73d5e 100644
--- a/content/renderer/gpu/compositor_thread.h
+++ b/content/renderer/gpu/compositor_thread.h
@@ -32,24 +32,24 @@ class CompositorThread {
IPC::ChannelProxy::MessageFilter* GetMessageFilter() const;
// Callable from the main thread or the compositor's thread.
- void AddCompositor(int routing_id, int compositor_id);
+ void AddInputHandler(int routing_id, int input_handler_id);
webkit_glue::WebThreadImpl* GetWebThread() { return &thread_; }
private:
// Callback only from the compositor's thread.
- void RemoveCompositor(int routing_id);
+ void RemoveInputHandler(int routing_id);
// Called from the compositor's thread.
void HandleInputEvent(int routing_id,
const WebKit::WebInputEvent* input_event);
- class CompositorWrapper;
- friend class CompositorWrapper;
+ class InputHandlerWrapper;
+ friend class InputHandlerWrapper;
typedef std::map<int, // routing_id
- linked_ptr<CompositorWrapper> > CompositorMap;
- CompositorMap compositors_;
+ linked_ptr<InputHandlerWrapper> > InputHandlerMap;
+ InputHandlerMap input_handlers_;
webkit_glue::WebThreadImpl thread_;
scoped_refptr<InputEventFilter> filter_;
« no previous file with comments | « no previous file | content/renderer/gpu/compositor_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698