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

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: Plumb selection rannge with ViewHostMsg_SelectionChanged Created 9 years, 11 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const gfx::Rect& caret_rect); 59 const gfx::Rect& caret_rect);
60 virtual void ImeCancelComposition(); 60 virtual void ImeCancelComposition();
61 virtual void DidUpdateBackingStore( 61 virtual void DidUpdateBackingStore(
62 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 62 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
63 const std::vector<gfx::Rect>& copy_rects); 63 const std::vector<gfx::Rect>& copy_rects);
64 virtual void RenderViewGone(base::TerminationStatus status, 64 virtual void RenderViewGone(base::TerminationStatus status,
65 int error_code); 65 int error_code);
66 virtual void Destroy(); 66 virtual void Destroy();
67 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 67 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
68 virtual void SetTooltipText(const std::wstring& tooltip_text); 68 virtual void SetTooltipText(const std::wstring& tooltip_text);
69 virtual void SelectionChanged(const std::string& text); 69 virtual void SelectionChanged(const std::string& text, int start, int end);
70 virtual void ShowingContextMenu(bool showing); 70 virtual void ShowingContextMenu(bool showing);
71 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 71 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
72 virtual void SetBackground(const SkBitmap& background); 72 virtual void SetBackground(const SkBitmap& background);
73 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); 73 virtual void CreatePluginContainer(gfx::PluginWindowHandle id);
74 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); 74 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id);
75 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); 75 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate);
76 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 76 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
77 virtual void AcceleratedCompositingActivated(bool activated); 77 virtual void AcceleratedCompositingActivated(bool activated);
78 78
79 // On some systems, there can be two native views, where an outer native view 79 // On some systems, there can be two native views, where an outer native view
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 // The touch-event. Its touch-points are updated as necessary. A new 170 // The touch-event. Its touch-points are updated as necessary. A new
171 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is 171 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is
172 // removed from the list on an ET_TOUCH_RELEASED event. 172 // removed from the list on an ET_TOUCH_RELEASED event.
173 WebKit::WebTouchEvent touch_event_; 173 WebKit::WebTouchEvent touch_event_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
176 }; 176 };
177 177
178 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 178 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698