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

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

Issue 12328080: Plumb physical backing size from RWHV to renderer CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust for call renamed to GetViewportSizePix() Created 7 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 <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const gfx::Vector2d& scroll_offset, 69 const gfx::Vector2d& scroll_offset,
70 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 70 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
71 virtual void Focus() OVERRIDE; 71 virtual void Focus() OVERRIDE;
72 virtual void Blur() OVERRIDE; 72 virtual void Blur() OVERRIDE;
73 virtual bool HasFocus() const OVERRIDE; 73 virtual bool HasFocus() const OVERRIDE;
74 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 74 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
75 virtual void Show() OVERRIDE; 75 virtual void Show() OVERRIDE;
76 virtual void Hide() OVERRIDE; 76 virtual void Hide() OVERRIDE;
77 virtual bool IsShowing() OVERRIDE; 77 virtual bool IsShowing() OVERRIDE;
78 virtual gfx::Rect GetViewBounds() const OVERRIDE; 78 virtual gfx::Rect GetViewBounds() const OVERRIDE;
79 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
79 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 80 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
80 virtual void SetIsLoading(bool is_loading) OVERRIDE; 81 virtual void SetIsLoading(bool is_loading) OVERRIDE;
81 virtual void TextInputStateChanged( 82 virtual void TextInputStateChanged(
82 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 83 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
83 virtual void ImeCancelComposition() OVERRIDE; 84 virtual void ImeCancelComposition() OVERRIDE;
84 virtual void ImeCompositionRangeChanged( 85 virtual void ImeCompositionRangeChanged(
85 const ui::Range& range, 86 const ui::Range& range,
86 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 87 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
87 virtual void DidUpdateBackingStore( 88 virtual void DidUpdateBackingStore(
88 const gfx::Rect& scroll_rect, 89 const gfx::Rect& scroll_rect,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 // The mailbox name of the previously received frame. 210 // The mailbox name of the previously received frame.
210 std::string current_mailbox_name_; 211 std::string current_mailbox_name_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 213 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
213 }; 214 };
214 215
215 } // namespace content 216 } // namespace content
216 217
217 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 218 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698