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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added an unittest and thread checker. Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 // RenderWidgetHostView implementation. 144 // RenderWidgetHostView implementation.
145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
146 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; 146 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE;
147 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; 147 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE;
148 virtual void SetSize(const gfx::Size& size) OVERRIDE; 148 virtual void SetSize(const gfx::Size& size) OVERRIDE;
149 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; 149 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE;
150 virtual gfx::NativeView GetNativeView() const OVERRIDE; 150 virtual gfx::NativeView GetNativeView() const OVERRIDE;
151 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 151 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
152 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 152 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
153 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
153 virtual bool HasFocus() const OVERRIDE; 154 virtual bool HasFocus() const OVERRIDE;
154 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 155 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
155 virtual void Show() OVERRIDE; 156 virtual void Show() OVERRIDE;
156 virtual void Hide() OVERRIDE; 157 virtual void Hide() OVERRIDE;
157 virtual bool IsShowing() OVERRIDE; 158 virtual bool IsShowing() OVERRIDE;
158 virtual gfx::Rect GetViewBounds() const OVERRIDE; 159 virtual gfx::Rect GetViewBounds() const OVERRIDE;
159 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 160 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
160 161
161 // Overridden from RenderWidgetHostViewPort: 162 // Overridden from RenderWidgetHostViewPort:
162 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 163 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // etc. 745 // etc.
745 scoped_ptr<content::LegacyRenderWidgetHostHWND> 746 scoped_ptr<content::LegacyRenderWidgetHostHWND>
746 legacy_render_widget_host_HWND_; 747 legacy_render_widget_host_HWND_;
747 #endif 748 #endif
748 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 749 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
749 }; 750 };
750 751
751 } // namespace content 752 } // namespace content
752 753
753 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 754 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698