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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const gfx::Rect& caret_rect); 77 const gfx::Rect& caret_rect);
78 virtual void ImeCancelComposition(); 78 virtual void ImeCancelComposition();
79 virtual void DidUpdateBackingStore( 79 virtual void DidUpdateBackingStore(
80 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 80 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
81 const std::vector<gfx::Rect>& copy_rects); 81 const std::vector<gfx::Rect>& copy_rects);
82 virtual void RenderViewGone(base::TerminationStatus status, 82 virtual void RenderViewGone(base::TerminationStatus status,
83 int error_code); 83 int error_code);
84 virtual void Destroy(); 84 virtual void Destroy();
85 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 85 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
86 virtual void SetTooltipText(const std::wstring& tooltip_text); 86 virtual void SetTooltipText(const std::wstring& tooltip_text);
87 virtual void SelectionChanged(const std::string& text); 87 virtual void SelectionChanged(const std::string& text,
88 const ui::Range& range);
88 virtual void ShowingContextMenu(bool showing); 89 virtual void ShowingContextMenu(bool showing);
89 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 90 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
90 virtual void SetBackground(const SkBitmap& background); 91 virtual void SetBackground(const SkBitmap& background);
91 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); 92 virtual void CreatePluginContainer(gfx::PluginWindowHandle id);
92 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); 93 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id);
93 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); 94 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate);
94 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 95 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
95 96
96 virtual void AcceleratedCompositingActivated(bool activated); 97 virtual void AcceleratedCompositingActivated(bool activated);
97 virtual gfx::PluginWindowHandle GetCompositingSurface(); 98 virtual gfx::PluginWindowHandle GetCompositingSurface();
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // menus and drags. 254 // menus and drags.
254 GdkEventButton* last_mouse_down_; 255 GdkEventButton* last_mouse_down_;
255 256
256 #if defined(OS_CHROMEOS) 257 #if defined(OS_CHROMEOS)
257 // Custimized tooltip window. 258 // Custimized tooltip window.
258 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; 259 scoped_ptr<views::TooltipWindowGtk> tooltip_window_;
259 #endif // defined(OS_CHROMEOS) 260 #endif // defined(OS_CHROMEOS)
260 }; 261 };
261 262
262 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 263 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698