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

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

Issue 8227018: mac: Almost fix Lion accented character bubble input in web contents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoopsies Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 int selection_start, 341 int selection_start,
342 int selection_end); 342 int selection_end);
343 343
344 // Finishes an ongoing composition with the specified text. 344 // Finishes an ongoing composition with the specified text.
345 // A browser should call this function: 345 // A browser should call this function:
346 // * when it receives a WM_IME_COMPOSITION message with a GCS_RESULTSTR flag 346 // * when it receives a WM_IME_COMPOSITION message with a GCS_RESULTSTR flag
347 // (on Windows); 347 // (on Windows);
348 // * when it receives a "commit" signal of GtkIMContext (on Linux); 348 // * when it receives a "commit" signal of GtkIMContext (on Linux);
349 // * when insertText of NSTextInput is called (on Mac). 349 // * when insertText of NSTextInput is called (on Mac).
350 void ImeConfirmComposition(const string16& text); 350 void ImeConfirmComposition(const string16& text);
351 void ImeConfirmComposition(const string16& text,
352 const ui::Range& replacement_range);
351 353
352 // Finishes an ongoing composition with the composition text set by last 354 // Finishes an ongoing composition with the composition text set by last
353 // SetComposition() call. 355 // SetComposition() call.
354 void ImeConfirmComposition(); 356 void ImeConfirmComposition();
355 357
356 // Cancels an ongoing composition. 358 // Cancels an ongoing composition.
357 void ImeCancelComposition(); 359 void ImeCancelComposition();
358 360
359 // Makes an IPC call to tell webkit to replace the currently selected word 361 // Makes an IPC call to tell webkit to replace the currently selected word
360 // or a word around the cursor. 362 // or a word around the cursor.
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 736
735 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; 737 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_;
736 738
737 // The last scroll offset of the render widget. 739 // The last scroll offset of the render widget.
738 gfx::Point last_scroll_offset_; 740 gfx::Point last_scroll_offset_;
739 741
740 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 742 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
741 }; 743 };
742 744
743 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 745 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698