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

Side by Side Diff: webkit/glue/webwidget.h

Issue 39252: A tricky fix for Issue 1845.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/glue/webwidget_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBWIDGET_H__ 5 #ifndef WEBKIT_GLUE_WEBWIDGET_H__
6 #define WEBKIT_GLUE_WEBWIDGET_H__ 6 #define WEBKIT_GLUE_WEBWIDGET_H__
7 7
8 #include "skia/ext/platform_canvas.h" 8 #include "skia/ext/platform_canvas.h"
9 #include "webkit/glue/webtextdirection.h"
9 10
10 namespace gfx { 11 namespace gfx {
11 class Rect; 12 class Rect;
12 class Size; 13 class Size;
13 } 14 }
14 15
15 class WebInputEvent; 16 class WebInputEvent;
16 class WebWidgetDelegate; 17 class WebWidgetDelegate;
17 18
18 class WebWidget { 19 class WebWidget {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // Called to inform the webwidget of a composition event from IMM 59 // Called to inform the webwidget of a composition event from IMM
59 // (Input Method Manager). 60 // (Input Method Manager).
60 virtual bool ImeSetComposition(int string_type, int cursor_position, 61 virtual bool ImeSetComposition(int string_type, int cursor_position,
61 int target_start, int target_end, 62 int target_start, int target_end,
62 const std::wstring& ime_string) = 0; 63 const std::wstring& ime_string) = 0;
63 64
64 // Retrieve the status of this widget required by IME APIs. 65 // Retrieve the status of this widget required by IME APIs.
65 virtual bool ImeUpdateStatus(bool* enable_ime, gfx::Rect* caret_rect) = 0; 66 virtual bool ImeUpdateStatus(bool* enable_ime, gfx::Rect* caret_rect) = 0;
66 67
68 // Changes the text direction of the selected input node.
69 virtual void SetTextDirection(WebTextDirection direction) = 0;
70
67 protected: 71 protected:
68 virtual ~WebWidget() {} 72 virtual ~WebWidget() {}
69 73
70 private: 74 private:
71 DISALLOW_EVIL_CONSTRUCTORS(WebWidget); 75 DISALLOW_EVIL_CONSTRUCTORS(WebWidget);
72 }; 76 };
73 77
74 #endif // #ifndef WEBKIT_GLUE_WEBWIDGET_H__ 78 #endif // #ifndef WEBKIT_GLUE_WEBWIDGET_H__
OLDNEW
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/glue/webwidget_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698