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

Side by Side Diff: content/public/browser/render_widget_host.h

Issue 1442853005: Add IPC messages to transfer compositor protos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to remove CC_EXPORT... Created 5 years, 1 month 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/native_web_keyboard_event.h" 10 #include "content/public/browser/native_web_keyboard_event.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 // Add/remove a callback that can handle all kinds of mouse events. 239 // Add/remove a callback that can handle all kinds of mouse events.
240 typedef base::Callback<bool(const blink::WebMouseEvent&)> MouseEventCallback; 240 typedef base::Callback<bool(const blink::WebMouseEvent&)> MouseEventCallback;
241 virtual void AddMouseEventCallback(const MouseEventCallback& callback) = 0; 241 virtual void AddMouseEventCallback(const MouseEventCallback& callback) = 0;
242 virtual void RemoveMouseEventCallback(const MouseEventCallback& callback) = 0; 242 virtual void RemoveMouseEventCallback(const MouseEventCallback& callback) = 0;
243 243
244 // Get the screen info corresponding to this render widget. 244 // Get the screen info corresponding to this render widget.
245 virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0; 245 virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0;
246 // Get the color profile corresponding to this render widget. 246 // Get the color profile corresponding to this render widget.
247 virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0; 247 virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
248
249 // Sends a compositor proto to the render widget.
250 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0;
248 }; 251 };
249 252
250 } // namespace content 253 } // namespace content
251 254
252 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 255 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698