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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 6709023: Move some common ime code to ui/base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always put the composition cursor to the selection end. Created 9 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
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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
11 #include <atlcrack.h> 11 #include <atlcrack.h>
12 #include <atlmisc.h> 12 #include <atlmisc.h>
13 13
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/scoped_comptr_win.h" 16 #include "base/scoped_comptr_win.h"
17 #include "base/scoped_ptr.h" 17 #include "base/scoped_ptr.h"
18 #include "base/scoped_vector.h" 18 #include "base/scoped_vector.h"
19 #include "base/task.h" 19 #include "base/task.h"
20 #include "chrome/browser/accessibility/browser_accessibility_manager.h" 20 #include "chrome/browser/accessibility/browser_accessibility_manager.h"
21 #include "chrome/browser/ime_input.h"
22 #include "content/browser/renderer_host/render_widget_host_view.h" 21 #include "content/browser/renderer_host/render_widget_host_view.h"
23 #include "content/common/notification_observer.h" 22 #include "content/common/notification_observer.h"
24 #include "content/common/notification_registrar.h" 23 #include "content/common/notification_registrar.h"
24 #include "ui/base/win/ime_input.h"
25 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
26 #include "webkit/glue/webcursor.h" 26 #include "webkit/glue/webcursor.h"
27 27
28 class BackingStore; 28 class BackingStore;
29 class RenderWidgetHost; 29 class RenderWidgetHost;
30 30
31 namespace gfx { 31 namespace gfx {
32 class Size; 32 class Size;
33 class Rect; 33 class Rect;
34 } 34 }
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // The cursor for the page. This is passed up from the renderer. 281 // The cursor for the page. This is passed up from the renderer.
282 WebCursor current_cursor_; 282 WebCursor current_cursor_;
283 283
284 // Indicates if the page is loading. 284 // Indicates if the page is loading.
285 bool is_loading_; 285 bool is_loading_;
286 286
287 // true if we are currently tracking WM_MOUSEEXIT messages. 287 // true if we are currently tracking WM_MOUSEEXIT messages.
288 bool track_mouse_leave_; 288 bool track_mouse_leave_;
289 289
290 // Wrapper class for IME input. 290 // Wrapper class for IME input.
291 // (See "chrome/browser/ime_input.h" for its details.) 291 // (See "ui/base/win/ime_input.h" for its details.)
292 ImeInput ime_input_; 292 ui::ImeInput ime_input_;
293 293
294 // Represents whether or not this browser process is receiving status 294 // Represents whether or not this browser process is receiving status
295 // messages about the focused edit control from a renderer process. 295 // messages about the focused edit control from a renderer process.
296 bool ime_notification_; 296 bool ime_notification_;
297 297
298 // true if Enter was hit when render widget host was in focus. 298 // true if Enter was hit when render widget host was in focus.
299 bool capture_enter_key_; 299 bool capture_enter_key_;
300 300
301 // true if the View is not visible. 301 // true if the View is not visible.
302 bool is_hidden_; 302 bool is_hidden_;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 WebKit::WebTextInputType text_input_type_; 357 WebKit::WebTextInputType text_input_type_;
358 358
359 ScopedVector<ui::ViewProp> props_; 359 ScopedVector<ui::ViewProp> props_;
360 360
361 scoped_ptr<ui::ViewProp> accessibility_prop_; 361 scoped_ptr<ui::ViewProp> accessibility_prop_;
362 362
363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
364 }; 364 };
365 365
366 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 366 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/gtk_im_context_wrapper.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698