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

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

Issue 195793004: Implement overscroll support for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix work area resize when virtual keyboard is shown. 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_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 83 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
84 gfx::Vector2dF current_fling_velocity) OVERRIDE; 84 gfx::Vector2dF current_fling_velocity) OVERRIDE;
85 virtual void DidStopFlinging() OVERRIDE {} 85 virtual void DidStopFlinging() OVERRIDE {}
86 virtual uint32 RendererFrameNumber() OVERRIDE; 86 virtual uint32 RendererFrameNumber() OVERRIDE;
87 virtual void DidReceiveRendererFrame() OVERRIDE; 87 virtual void DidReceiveRendererFrame() OVERRIDE;
88 virtual void LockCompositingSurface() OVERRIDE; 88 virtual void LockCompositingSurface() OVERRIDE;
89 virtual void UnlockCompositingSurface() OVERRIDE; 89 virtual void UnlockCompositingSurface() OVERRIDE;
90 90
91 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 91 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
92 92
93 virtual int GetVisibleViewportHeight() const OVERRIDE;
94 virtual void SetKeyboardBounds(const gfx::Rect& bounds) OVERRIDE;
95
93 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); 96 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
94 97
95 // Notification that a resize or move session ended on the native widget. 98 // Notification that a resize or move session ended on the native widget.
96 void UpdateScreenInfo(gfx::NativeView view); 99 void UpdateScreenInfo(gfx::NativeView view);
97 100
98 // Tells if the display property (work area/scale factor) has 101 // Tells if the display property (work area/scale factor) has
99 // changed since the last time. 102 // changed since the last time.
100 bool HasDisplayPropertyChanged(gfx::NativeView view); 103 bool HasDisplayPropertyChanged(gfx::NativeView view);
101 104
102 #if defined(OS_WIN) 105 #if defined(OS_WIN)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 uint32 renderer_frame_number_; 174 uint32 renderer_frame_number_;
172 175
173 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 176 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
174 177
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
176 }; 179 };
177 180
178 } // namespace content 181 } // namespace content
179 182
180 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 183 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698