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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 1999423002: tyrbot test for commitText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetHasCompositionTextToTrue 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 // A BrowserPluginGuest is the browser side of a browser <--> embedder 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder
7 // renderer side of browser <--> embedder renderer communication. 7 // renderer side of browser <--> embedder renderer communication.
8 // 8 //
9 // BrowserPluginGuest lives on the UI thread of the browser process. Any 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any
10 // messages about the guest render process that the embedder might be interested 10 // messages about the guest render process that the embedder might be interested
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 void OnUnlockMouseAck(int instance_id); 332 void OnUnlockMouseAck(int instance_id);
333 void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect); 333 void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect);
334 334
335 void OnTextInputStateChanged(const TextInputState& params); 335 void OnTextInputStateChanged(const TextInputState& params);
336 void OnImeSetComposition( 336 void OnImeSetComposition(
337 int instance_id, 337 int instance_id,
338 const std::string& text, 338 const std::string& text,
339 const std::vector<blink::WebCompositionUnderline>& underlines, 339 const std::vector<blink::WebCompositionUnderline>& underlines,
340 int selection_start, 340 int selection_start,
341 int selection_end); 341 int selection_end);
342 void OnImeConfirmComposition( 342 void OnImeCommitText(int instance_id,
343 int instance_id, 343 const std::string& text,
344 const std::string& text, 344 int relative_cursor_pos);
345 bool keep_selection); 345 void OnImeFinishComposingText(bool keep_selection);
346 void OnExtendSelectionAndDelete(int instance_id, int before, int after); 346 void OnExtendSelectionAndDelete(int instance_id, int before, int after);
347 void OnImeCancelComposition(); 347 void OnImeCancelComposition();
348 #if defined(OS_MACOSX) || defined(USE_AURA) 348 #if defined(OS_MACOSX) || defined(USE_AURA)
349 void OnImeCompositionRangeChanged( 349 void OnImeCompositionRangeChanged(
350 const gfx::Range& range, 350 const gfx::Range& range,
351 const std::vector<gfx::Rect>& character_bounds); 351 const std::vector<gfx::Rect>& character_bounds);
352 #endif 352 #endif
353 353
354 // Message handlers for messages from guest. 354 // Message handlers for messages from guest.
355 void OnHandleInputEventAck( 355 void OnHandleInputEventAck(
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // Weak pointer used to ask GeolocationPermissionContext about geolocation 449 // Weak pointer used to ask GeolocationPermissionContext about geolocation
450 // permission. 450 // permission.
451 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 451 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
452 452
453 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 453 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
454 }; 454 };
455 455
456 } // namespace content 456 } // namespace content
457 457
458 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 458 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_widget_test_client.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698