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

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

Issue 2323983003: DO NOT SUBMIT: Bundle IME-related messages into one for batch edit (Closed)
Patch Set: fixed nits and fixed blimp test Created 4 years, 3 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 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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 // Add/remove an input event observer. 255 // Add/remove an input event observer.
256 virtual void AddInputEventObserver(InputEventObserver* observer) = 0; 256 virtual void AddInputEventObserver(InputEventObserver* observer) = 0;
257 virtual void RemoveInputEventObserver(InputEventObserver* observer) = 0; 257 virtual void RemoveInputEventObserver(InputEventObserver* observer) = 0;
258 258
259 // Get the screen info corresponding to this render widget. 259 // Get the screen info corresponding to this render widget.
260 virtual void GetScreenInfo(ScreenInfo* result) = 0; 260 virtual void GetScreenInfo(ScreenInfo* result) = 0;
261 261
262 // Sends a compositor proto to the render widget. 262 // Sends a compositor proto to the render widget.
263 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; 263 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0;
264
265 // If we are in the batch edit mode, bundle it and send them later at once.
266 // Otherwise, just send the message.
267 virtual void SendOrBatch(IPC::Message* message) = 0;
268
264 }; 269 };
265 270
266 } // namespace content 271 } // namespace content
267 272
268 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 273 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698