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

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: Merge ToT 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 82 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
83 gfx::Vector2dF current_fling_velocity) OVERRIDE; 83 gfx::Vector2dF current_fling_velocity) OVERRIDE;
84 virtual void DidStopFlinging() OVERRIDE {} 84 virtual void DidStopFlinging() OVERRIDE {}
85 virtual uint32 RendererFrameNumber() OVERRIDE; 85 virtual uint32 RendererFrameNumber() OVERRIDE;
86 virtual void DidReceiveRendererFrame() OVERRIDE; 86 virtual void DidReceiveRendererFrame() OVERRIDE;
87 virtual void LockCompositingSurface() OVERRIDE; 87 virtual void LockCompositingSurface() OVERRIDE;
88 virtual void UnlockCompositingSurface() OVERRIDE; 88 virtual void UnlockCompositingSurface() OVERRIDE;
89 89
90 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 90 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
91 91
92 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE;
93 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
94
92 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); 95 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
93 96
94 // Notification that a resize or move session ended on the native widget. 97 // Notification that a resize or move session ended on the native widget.
95 void UpdateScreenInfo(gfx::NativeView view); 98 void UpdateScreenInfo(gfx::NativeView view);
96 99
97 // Tells if the display property (work area/scale factor) has 100 // Tells if the display property (work area/scale factor) has
98 // changed since the last time. 101 // changed since the last time.
99 bool HasDisplayPropertyChanged(gfx::NativeView view); 102 bool HasDisplayPropertyChanged(gfx::NativeView view);
100 103
101 #if defined(OS_WIN) 104 #if defined(OS_WIN)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 uint32 renderer_frame_number_; 173 uint32 renderer_frame_number_;
171 174
172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 175 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
173 176
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 177 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
175 }; 178 };
176 179
177 } // namespace content 180 } // namespace content
178 181
179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 182 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698