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

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

Issue 6840060: Progress towards fixing 77536 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 8 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_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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void SelectionChanged(const std::string& text) OVERRIDE; 73 virtual void SelectionChanged(const std::string& text) OVERRIDE;
74 virtual void ShowingContextMenu(bool showing) OVERRIDE; 74 virtual void ShowingContextMenu(bool showing) OVERRIDE;
75 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 75 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
76 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 76 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
79 virtual void SetVisuallyDeemphasized(const SkColor* color, 79 virtual void SetVisuallyDeemphasized(const SkColor* color,
80 bool animate) OVERRIDE; 80 bool animate) OVERRIDE;
81 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE; 81 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE;
82 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; 82 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE;
83 virtual gfx::PluginWindowHandle AcquireCompositingSurface() OVERRIDE; 83 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
84 virtual void ReleaseCompositingSurface(
85 gfx::PluginWindowHandle surface) OVERRIDE;
86 84
87 // On some systems, there can be two native views, where an outer native view 85 // On some systems, there can be two native views, where an outer native view
88 // contains the inner native view (e.g. when using GTK+). This returns the 86 // contains the inner native view (e.g. when using GTK+). This returns the
89 // inner view. This can return NULL when it's not attached to a view. 87 // inner view. This can return NULL when it's not attached to a view.
90 gfx::NativeView GetInnerNativeView() const; 88 gfx::NativeView GetInnerNativeView() const;
91 89
92 // Overridden from views::View. 90 // Overridden from views::View.
93 virtual std::string GetClassName() const OVERRIDE; 91 virtual std::string GetClassName() const OVERRIDE;
94 virtual gfx::NativeCursor GetCursorForPoint(ui::EventType type, 92 virtual gfx::NativeCursor GetCursorForPoint(ui::EventType type,
95 const gfx::Point& point) OVERRIDE; 93 const gfx::Point& point) OVERRIDE;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // The current caret bounds. 208 // The current caret bounds.
211 gfx::Rect caret_bounds_; 209 gfx::Rect caret_bounds_;
212 210
213 // Indicates if there is onging composition text. 211 // Indicates if there is onging composition text.
214 bool has_composition_text_; 212 bool has_composition_text_;
215 213
216 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 214 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
217 }; 215 };
218 216
219 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 217 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698