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

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: Swapped char to uint8_t, added checked_cast, updated description 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Notification that the widget has lost capture. 156 // Notification that the widget has lost capture.
157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} 157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {}
158 158
159 // Notification that the widget has lost the mouse lock. 159 // Notification that the widget has lost the mouse lock.
160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} 160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {}
161 161
162 #if defined(OS_WIN) 162 #if defined(OS_WIN)
163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
164 #endif 164 #endif
165 165
166 // Called when the widget has sent a compositor proto. This is used in Blimp
167 // mode with the RemoteChannel compositor.
168 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
169 const std::vector<uint8_t>& proto) {}
170
166 protected: 171 protected:
167 virtual ~RenderWidgetHostDelegate() {} 172 virtual ~RenderWidgetHostDelegate() {}
168 }; 173 };
169 174
170 } // namespace content 175 } // namespace content
171 176
172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 177 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698