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

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

Issue 476113004: Replace overdraw_bottom_height with top_controls_layout_height. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ScrollViewportRounding test Created 6 years, 4 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_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const std::vector<WebPluginGeometry>& moves) OVERRIDE; 117 const std::vector<WebPluginGeometry>& moves) OVERRIDE;
118 virtual void Focus() OVERRIDE; 118 virtual void Focus() OVERRIDE;
119 virtual void Blur() OVERRIDE; 119 virtual void Blur() OVERRIDE;
120 virtual bool HasFocus() const OVERRIDE; 120 virtual bool HasFocus() const OVERRIDE;
121 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 121 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
122 virtual void Show() OVERRIDE; 122 virtual void Show() OVERRIDE;
123 virtual void Hide() OVERRIDE; 123 virtual void Hide() OVERRIDE;
124 virtual bool IsShowing() OVERRIDE; 124 virtual bool IsShowing() OVERRIDE;
125 virtual gfx::Rect GetViewBounds() const OVERRIDE; 125 virtual gfx::Rect GetViewBounds() const OVERRIDE;
126 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 126 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
127 virtual float GetOverdrawBottomHeight() const OVERRIDE; 127 virtual float GetTopControlsLayoutHeight() const OVERRIDE;
128 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 128 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
129 virtual void SetIsLoading(bool is_loading) OVERRIDE; 129 virtual void SetIsLoading(bool is_loading) OVERRIDE;
130 virtual void TextInputStateChanged( 130 virtual void TextInputStateChanged(
131 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 131 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
132 virtual void ImeCancelComposition() OVERRIDE; 132 virtual void ImeCancelComposition() OVERRIDE;
133 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; 133 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
134 virtual void RenderProcessGone(base::TerminationStatus status, 134 virtual void RenderProcessGone(base::TerminationStatus status,
135 int error_code) OVERRIDE; 135 int error_code) OVERRIDE;
136 virtual void Destroy() OVERRIDE; 136 virtual void Destroy() OVERRIDE;
137 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 137 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 // List of readbackrequests waiting for arrival of a valid frame. 421 // List of readbackrequests waiting for arrival of a valid frame.
422 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; 422 std::queue<ReadbackRequest> readbacks_waiting_for_frame_;
423 423
424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
425 }; 425 };
426 426
427 } // namespace content 427 } // namespace content
428 428
429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698