summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 17:09:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 17:09:24 +0000
commitaf9f8e3bec47e0adf640d0c852cdf708d8d7ed27 (patch)
treeec7cbe16c85003109de873595508008bc306c034 /content/port
parent500456fa14e6e1aac51baaf636d86a29a5dde6ec (diff)
downloadchromium_src-af9f8e3bec47e0adf640d0c852cdf708d8d7ed27.zip
chromium_src-af9f8e3bec47e0adf640d0c852cdf708d8d7ed27.tar.gz
chromium_src-af9f8e3bec47e0adf640d0c852cdf708d8d7ed27.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. BUG=31960 TEST=none Review URL: https://chromiumcodereview.appspot.com/10541047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-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;