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

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: Synced. 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // Basic implementation shared by concrete RenderWidgetHostView subclasses. 59 // Basic implementation shared by concrete RenderWidgetHostView subclasses.
60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, 60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
61 public IPC::Listener { 61 public IPC::Listener {
62 public: 62 public:
63 virtual ~RenderWidgetHostViewBase(); 63 virtual ~RenderWidgetHostViewBase();
64 64
65 // RenderWidgetHostView implementation. 65 // RenderWidgetHostView implementation.
66 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 66 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
67 virtual const SkBitmap& GetBackground() OVERRIDE; 67 virtual const SkBitmap& GetBackground() OVERRIDE;
68 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
68 virtual bool IsShowingContextMenu() const OVERRIDE; 69 virtual bool IsShowingContextMenu() const OVERRIDE;
69 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; 70 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE;
70 virtual base::string16 GetSelectedText() const OVERRIDE; 71 virtual base::string16 GetSelectedText() const OVERRIDE;
71 virtual bool IsMouseLocked() OVERRIDE; 72 virtual bool IsMouseLocked() OVERRIDE;
72 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE; 73 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE;
73 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 74 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
74 virtual void BeginFrameSubscription( 75 virtual void BeginFrameSubscription(
75 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 76 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
76 virtual void EndFrameSubscription() OVERRIDE; 77 virtual void EndFrameSubscription() OVERRIDE;
77 78
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 uint32 renderer_frame_number_; 425 uint32 renderer_frame_number_;
425 426
426 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
427 428
428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
429 }; 430 };
430 431
431 } // namespace content 432 } // namespace content
432 433
433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698