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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_views.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: Address jam@ comments Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const gfx::Rect& caret_rect) OVERRIDE; 63 const gfx::Rect& caret_rect) OVERRIDE;
64 virtual void ImeCancelComposition() OVERRIDE; 64 virtual void ImeCancelComposition() OVERRIDE;
65 virtual void DidUpdateBackingStore( 65 virtual void DidUpdateBackingStore(
66 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 66 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
67 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 67 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
68 virtual void RenderViewGone(base::TerminationStatus status, 68 virtual void RenderViewGone(base::TerminationStatus status,
69 int error_code) OVERRIDE; 69 int error_code) OVERRIDE;
70 virtual void Destroy() OVERRIDE; 70 virtual void Destroy() OVERRIDE;
71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {} 71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {}
72 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; 72 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
73 virtual void SelectionChanged(const std::string& text) OVERRIDE; 73 virtual void SelectionChanged(const std::string& text,
74 int start,
75 int end) OVERRIDE;
74 virtual void ShowingContextMenu(bool showing) OVERRIDE; 76 virtual void ShowingContextMenu(bool showing) OVERRIDE;
75 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 77 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
76 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 78 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 79 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 80 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
79 virtual void SetVisuallyDeemphasized(const SkColor* color, 81 virtual void SetVisuallyDeemphasized(const SkColor* color,
80 bool animate) OVERRIDE; 82 bool animate) OVERRIDE;
81 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE; 83 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE;
82 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; 84 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE;
83 virtual gfx::PluginWindowHandle AcquireCompositingSurface() OVERRIDE; 85 virtual gfx::PluginWindowHandle AcquireCompositingSurface() OVERRIDE;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 WebKit::WebTouchEvent touch_event_; 188 WebKit::WebTouchEvent touch_event_;
187 189
188 // Input method context used to translating sequence of key events into other 190 // Input method context used to translating sequence of key events into other
189 // languages. 191 // languages.
190 scoped_ptr<IMEContextHandler> ime_context_; 192 scoped_ptr<IMEContextHandler> ime_context_;
191 193
192 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 194 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
193 }; 195 };
194 196
195 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 197 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698