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

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

Issue 1386403003: Resize only the virtual viewport when the OSK triggers a resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/InsetConsumerView/InsetObserverView Created 4 years, 9 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 gfx::NativeViewId GetNativeViewId() const override; 97 gfx::NativeViewId GetNativeViewId() const override;
98 gfx::NativeViewAccessible GetNativeViewAccessible() override; 98 gfx::NativeViewAccessible GetNativeViewAccessible() override;
99 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; 99 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override;
100 void Focus() override; 100 void Focus() override;
101 bool HasFocus() const override; 101 bool HasFocus() const override;
102 bool IsSurfaceAvailableForCopy() const override; 102 bool IsSurfaceAvailableForCopy() const override;
103 void Show() override; 103 void Show() override;
104 void Hide() override; 104 void Hide() override;
105 bool IsShowing() override; 105 bool IsShowing() override;
106 gfx::Rect GetViewBounds() const override; 106 gfx::Rect GetViewBounds() const override;
107 gfx::Size GetVisibleViewportSize() const override;
107 gfx::Size GetPhysicalBackingSize() const override; 108 gfx::Size GetPhysicalBackingSize() const override;
108 bool DoTopControlsShrinkBlinkSize() const override; 109 bool DoTopControlsShrinkBlinkSize() const override;
109 float GetTopControlsHeight() const override; 110 float GetTopControlsHeight() const override;
110 void UpdateCursor(const WebCursor& cursor) override; 111 void UpdateCursor(const WebCursor& cursor) override;
111 void SetIsLoading(bool is_loading) override; 112 void SetIsLoading(bool is_loading) override;
112 void TextInputStateChanged( 113 void TextInputStateChanged(
113 const ViewHostMsg_TextInputState_Params& params) override; 114 const ViewHostMsg_TextInputState_Params& params) override;
114 void ImeCancelComposition() override; 115 void ImeCancelComposition() override;
115 void ImeCompositionRangeChanged( 116 void ImeCompositionRangeChanged(
116 const gfx::Range& range, 117 const gfx::Range& range,
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 gfx::Vector2dF last_scroll_offset_; 409 gfx::Vector2dF last_scroll_offset_;
409 410
410 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 411 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
411 412
412 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 413 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
413 }; 414 };
414 415
415 } // namespace content 416 } // namespace content
416 417
417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698