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

Side by Side Diff: content/browser/renderer_host/render_widget_host_delegate.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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include <vector>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "build/build_config.h" 11 #include "build/build_config.h"
10 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
11 #include "third_party/WebKit/public/platform/WebDisplayMode.h" 13 #include "third_party/WebKit/public/platform/WebDisplayMode.h"
12 #include "third_party/WebKit/public/web/WebInputEvent.h" 14 #include "third_party/WebKit/public/web/WebInputEvent.h"
13 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
14 16
15 namespace blink { 17 namespace blink {
16 class WebMouseWheelEvent; 18 class WebMouseWheelEvent;
17 class WebGestureEvent; 19 class WebGestureEvent;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Notification that the widget has lost capture. 158 // Notification that the widget has lost capture.
157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} 159 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {}
158 160
159 // Notification that the widget has lost the mouse lock. 161 // Notification that the widget has lost the mouse lock.
160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} 162 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {}
161 163
162 #if defined(OS_WIN) 164 #if defined(OS_WIN)
163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 165 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
164 #endif 166 #endif
165 167
168 // Called when the widget has sent a compositor proto. This is used in Blimp
169 // mode with the RemoteChannel compositor.
170 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
171 const std::vector<uint8_t>& proto) {}
172
166 protected: 173 protected:
167 virtual ~RenderWidgetHostDelegate() {} 174 virtual ~RenderWidgetHostDelegate() {}
168 }; 175 };
169 176
170 } // namespace content 177 } // namespace content
171 178
172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « cc/trees/remote_proto_channel.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698