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

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

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void ShowingContextMenu(bool showing) OVERRIDE; 75 virtual void ShowingContextMenu(bool showing) OVERRIDE;
76 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 76 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
77 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 77 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
78 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 78 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
79 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 79 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
80 virtual void SetVisuallyDeemphasized(const SkColor* color, 80 virtual void SetVisuallyDeemphasized(const SkColor* color,
81 bool animate) OVERRIDE; 81 bool animate) OVERRIDE;
82 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE; 82 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE;
83 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; 83 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE;
84 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; 84 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
85 85
oshima 2011/05/25 17:18:18 ditto
86 virtual void PpapiPluginFocusChanged(bool focused) {}
kochi 2011/05/25 06:19:44 Why didn't you add empty function in .cc file as y
oshima 2011/05/25 17:18:18 agreed. OVERRIDE as well.
kinaba 2011/05/25 22:23:53 (Removed from the patch set 2.)
87
86 // On some systems, there can be two native views, where an outer native view 88 // On some systems, there can be two native views, where an outer native view
87 // contains the inner native view (e.g. when using GTK+). This returns the 89 // contains the inner native view (e.g. when using GTK+). This returns the
88 // inner view. This can return NULL when it's not attached to a view. 90 // inner view. This can return NULL when it's not attached to a view.
89 gfx::NativeView GetInnerNativeView() const; 91 gfx::NativeView GetInnerNativeView() const;
90 92
91 // Overridden from views::View. 93 // Overridden from views::View.
92 virtual std::string GetClassName() const OVERRIDE; 94 virtual std::string GetClassName() const OVERRIDE;
93 virtual gfx::NativeCursor GetCursor(const views::MouseEvent& event) OVERRIDE; 95 virtual gfx::NativeCursor GetCursor(const views::MouseEvent& event) OVERRIDE;
94 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 96 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
95 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; 97 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // The current caret bounds. 210 // The current caret bounds.
209 gfx::Rect caret_bounds_; 211 gfx::Rect caret_bounds_;
210 212
211 // Indicates if there is onging composition text. 213 // Indicates if there is onging composition text.
212 bool has_composition_text_; 214 bool has_composition_text_;
213 215
214 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 216 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
215 }; 217 };
216 218
217 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 219 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698