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

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

Issue 2106753004: Introduce bottom controls to CC and let it respond to scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: findbug Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool HasFocus() const override; 103 bool HasFocus() const override;
104 bool IsSurfaceAvailableForCopy() const override; 104 bool IsSurfaceAvailableForCopy() const override;
105 void Show() override; 105 void Show() override;
106 void Hide() override; 106 void Hide() override;
107 bool IsShowing() override; 107 bool IsShowing() override;
108 gfx::Rect GetViewBounds() const override; 108 gfx::Rect GetViewBounds() const override;
109 gfx::Size GetVisibleViewportSize() const override; 109 gfx::Size GetVisibleViewportSize() const override;
110 gfx::Size GetPhysicalBackingSize() const override; 110 gfx::Size GetPhysicalBackingSize() const override;
111 bool DoTopControlsShrinkBlinkSize() const override; 111 bool DoTopControlsShrinkBlinkSize() const override;
112 float GetTopControlsHeight() const override; 112 float GetTopControlsHeight() const override;
113 float GetBottomControlsHeight() const override;
113 void UpdateCursor(const WebCursor& cursor) override; 114 void UpdateCursor(const WebCursor& cursor) override;
114 void SetIsLoading(bool is_loading) override; 115 void SetIsLoading(bool is_loading) override;
115 void TextInputStateChanged(const TextInputState& params) override; 116 void TextInputStateChanged(const TextInputState& params) override;
116 void ImeCancelComposition() override; 117 void ImeCancelComposition() override;
117 void ImeCompositionRangeChanged( 118 void ImeCompositionRangeChanged(
118 const gfx::Range& range, 119 const gfx::Range& range,
119 const std::vector<gfx::Rect>& character_bounds) override; 120 const std::vector<gfx::Rect>& character_bounds) override;
120 void FocusedNodeChanged(bool is_editable_node) override; 121 void FocusedNodeChanged(bool is_editable_node) override;
121 void RenderProcessGone(base::TerminationStatus status, 122 void RenderProcessGone(base::TerminationStatus status,
122 int error_code) override; 123 int error_code) override;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 gfx::Vector2dF last_scroll_offset_; 386 gfx::Vector2dF last_scroll_offset_;
386 387
387 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 388 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
388 389
389 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 390 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
390 }; 391 };
391 392
392 } // namespace content 393 } // namespace content
393 394
394 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 395 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698