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

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

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments from sky. Created 6 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) 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_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // RenderWidgetHostViewPort implementation. 44 // RenderWidgetHostViewPort implementation.
45 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
46 virtual void SelectionChanged(const base::string16& text, 46 virtual void SelectionChanged(const base::string16& text,
47 size_t offset, 47 size_t offset,
48 const gfx::Range& range) OVERRIDE; 48 const gfx::Range& range) OVERRIDE;
49 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 49 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
50 virtual const SkBitmap& GetBackground() OVERRIDE; 50 virtual const SkBitmap& GetBackground() OVERRIDE;
51 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 51 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
52 virtual float GetOverdrawBottomHeight() const OVERRIDE; 52 virtual float GetOverdrawBottomHeight() const OVERRIDE;
53 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
53 virtual bool IsShowingContextMenu() const OVERRIDE; 54 virtual bool IsShowingContextMenu() const OVERRIDE;
54 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; 55 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE;
55 virtual base::string16 GetSelectedText() const OVERRIDE; 56 virtual base::string16 GetSelectedText() const OVERRIDE;
56 virtual bool IsMouseLocked() OVERRIDE; 57 virtual bool IsMouseLocked() OVERRIDE;
57 virtual void UnhandledWheelEvent( 58 virtual void UnhandledWheelEvent(
58 const blink::WebMouseWheelEvent& event) OVERRIDE; 59 const blink::WebMouseWheelEvent& event) OVERRIDE;
59 virtual InputEventAckState FilterInputEvent( 60 virtual InputEventAckState FilterInputEvent(
60 const blink::WebInputEvent& input_event) OVERRIDE; 61 const blink::WebInputEvent& input_event) OVERRIDE;
61 virtual void OnSetNeedsFlushInput() OVERRIDE; 62 virtual void OnSetNeedsFlushInput() OVERRIDE;
62 virtual void OnDidFlushInput() OVERRIDE; 63 virtual void OnDidFlushInput() OVERRIDE;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 uint32 renderer_frame_number_; 176 uint32 renderer_frame_number_;
176 177
177 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 178 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 180 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
180 }; 181 };
181 182
182 } // namespace content 183 } // namespace content
183 184
184 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 185 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698