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

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

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang Created 9 years, 7 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 13 matching lines...) Expand all
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h"
25 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
26 #include "ui/gfx/rect.h" 26 #include "ui/gfx/rect.h"
27 #include "ui/gfx/size.h" 27 #include "ui/gfx/size.h"
28 #include "ui/gfx/surface/transport_dib.h" 28 #include "ui/gfx/surface/transport_dib.h"
29 29
30 namespace gfx { 30 namespace gfx {
31 class Rect; 31 class Rect;
32 } 32 }
33 33
34 namespace ui {
35 class Range;
36 }
37
34 namespace WebKit { 38 namespace WebKit {
35 class WebInputEvent; 39 class WebInputEvent;
36 class WebMouseEvent; 40 class WebMouseEvent;
37 struct WebCompositionUnderline; 41 struct WebCompositionUnderline;
38 struct WebScreenInfo; 42 struct WebScreenInfo;
39 } 43 }
40 44
41 class BackingStore; 45 class BackingStore;
42 class PaintObserver; 46 class PaintObserver;
43 class RenderProcessHost; 47 class RenderProcessHost;
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 void OnMsgRequestMove(const gfx::Rect& pos); 472 void OnMsgRequestMove(const gfx::Rect& pos);
469 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); 473 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
470 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 474 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
471 void OnMsgInputEventAck(const IPC::Message& message); 475 void OnMsgInputEventAck(const IPC::Message& message);
472 virtual void OnMsgFocus(); 476 virtual void OnMsgFocus();
473 virtual void OnMsgBlur(); 477 virtual void OnMsgBlur();
474 478
475 void OnMsgSetCursor(const WebCursor& cursor); 479 void OnMsgSetCursor(const WebCursor& cursor);
476 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, 480 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type,
477 const gfx::Rect& caret_rect); 481 const gfx::Rect& caret_rect);
482 void OnMsgImeCompositionRangeChanged(const ui::Range& range);
478 void OnMsgImeCancelComposition(); 483 void OnMsgImeCancelComposition();
479 484
480 void OnMsgDidActivateAcceleratedCompositing(bool activated); 485 void OnMsgDidActivateAcceleratedCompositing(bool activated);
481 486
482 #if defined(OS_MACOSX) 487 #if defined(OS_MACOSX)
483 void OnMsgGetScreenInfo(gfx::NativeViewId view, 488 void OnMsgGetScreenInfo(gfx::NativeViewId view,
484 WebKit::WebScreenInfo* results); 489 WebKit::WebScreenInfo* results);
485 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 490 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
486 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 491 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
487 void OnMsgPluginFocusChanged(bool focused, int plugin_id); 492 void OnMsgPluginFocusChanged(bool focused, int plugin_id);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 675
671 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; 676 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_;
672 677
673 // The last scroll offset of the render widget. 678 // The last scroll offset of the render widget.
674 gfx::Point last_scroll_offset_; 679 gfx::Point last_scroll_offset_;
675 680
676 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 681 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
677 }; 682 };
678 683
679 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 684 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698