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

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

Issue 7761008: minor fixes to get virtual keyboard work on views desktop without ibus (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
« no previous file with comments | « no previous file | views/ime/mock_input_method.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual views::View* GetOwnerViewOfTextInputClient() OVERRIDE; 167 virtual views::View* GetOwnerViewOfTextInputClient() OVERRIDE;
168 168
169 #if defined(TOUCH_UI) 169 #if defined(TOUCH_UI)
170 virtual void AcceleratedSurfaceSetIOSurface( 170 virtual void AcceleratedSurfaceSetIOSurface(
171 int32 width, int32 height, uint64 surface_id) OVERRIDE; 171 int32 width, int32 height, uint64 surface_id) OVERRIDE;
172 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) OVERRIDE; 172 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) OVERRIDE;
173 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; 173 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE;
174 #endif 174 #endif
175 175
176 protected: 176 protected:
177 // Overridden from RenderWidgetHostView / views::View. 177 // Overridden views::View.
178 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 178 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
179 virtual void OnFocus() OVERRIDE;
180 virtual void OnBlur() OVERRIDE;
181
182 // Overridden from RenderWidgetHostView
179 virtual void Focus() OVERRIDE; 183 virtual void Focus() OVERRIDE;
180 virtual void Blur() OVERRIDE; 184 virtual void Blur() OVERRIDE;
181 virtual void OnFocus() OVERRIDE;
182 virtual void OnBlur() OVERRIDE;
183 185
184 private: 186 private:
185 friend class RenderWidgetHostViewViewsWidget; 187 friend class RenderWidgetHostViewViewsWidget;
186 188
187 // Returns whether the widget needs an input grab to work 189 // Returns whether the widget needs an input grab to work
188 // properly. 190 // properly.
189 bool NeedsInputGrab(); 191 bool NeedsInputGrab();
190 192
191 // Returns whether this render view is a popup (<select> dropdown or 193 // Returns whether this render view is a popup (<select> dropdown or
192 // autocomplete window). 194 // autocomplete window).
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 272
271 #if defined(TOUCH_UI) 273 #if defined(TOUCH_UI)
272 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > 274 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> >
273 accelerated_surface_containers_; 275 accelerated_surface_containers_;
274 #endif 276 #endif
275 277
276 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); 278 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews);
277 }; 279 };
278 280
279 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ 281 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | views/ime/mock_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698