summaryrefslogtreecommitdiffstats
path: root/content/port/browser
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 21:11:44 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 21:11:44 +0000
commitb1baca723530e975ca5c00b9bc2173877bf74a9b (patch)
tree123391abc697cac3f1c1e244dfb54f415af88928 /content/port/browser
parenta61fc173798260db50a32a4e3d52ae74e2e52814 (diff)
downloadchromium_src-b1baca723530e975ca5c00b9bc2173877bf74a9b.zip
chromium_src-b1baca723530e975ca5c00b9bc2173877bf74a9b.tar.gz
chromium_src-b1baca723530e975ca5c00b9bc2173877bf74a9b.tar.bz2
mac: Remove GetViewCocoaBounds()
The decision is to keep almost all IPC messages in view units, and only use pixels in the BackingStore object instead. Change RenderWidgetHostViewMac::GetViewBounds() to return (0, 0, w, h) instead of (0, 0, 0, 0). This matches the GTK code, and matches what rwh got from rwhvmac before this patch. Needed for PrerenderBrowserTest.PrerenderWindowSize BUG=31960 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141024 Review URL: https://chromiumcodereview.appspot.com/10541047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port/browser')
-rw-r--r--content/port/browser/render_widget_host_view_port.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 605632d..310be75 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -183,12 +183,6 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
// Called just before GetBackingStore blocks for an updated frame.
virtual void AboutToWaitForBackingStoreMsg() = 0;
- // Retrieve the bounds of the view, in cocoa view coordinates.
- // If the UI scale factor is 2, |GetViewBounds()| will return a size of e.g.
- // (400, 300) in pixels, while this method will return (200, 150).
- // Even though this returns an gfx::Rect, the result is NOT IN PIXELS.
- virtual gfx::Rect GetViewCocoaBounds() const = 0;
-
// Informs the view that a plugin gained or lost focus.
virtual void PluginFocusChanged(bool focused, int plugin_id) = 0;