diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 14:11:09 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 14:11:09 +0000 |
commit | 4def0e69084b16e3920ed095a4fcb197565a6d1f (patch) | |
tree | c1f933916c0a63a22228f24bdb818d5901faea4b /chrome/browser/ui/window_sizer_gtk.cc | |
parent | be9324e03918d6c0591c844cd1a7a4d7b8f45452 (diff) | |
download | chromium_src-4def0e69084b16e3920ed095a4fcb197565a6d1f.zip chromium_src-4def0e69084b16e3920ed095a4fcb197565a6d1f.tar.gz chromium_src-4def0e69084b16e3920ed095a4fcb197565a6d1f.tar.bz2 |
Gets ScreenAura to correctly calculate work area, and hooks
WindowSizer up to it. Also removes window_sizer_win when building aura
as we shouldn't be using it with aura. Lastly I had to add AURA_EXPORT
to the FocusManager as visual studio doesn't like it when you try to
export a class that inherits from a non-exported class.
BUG=none
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8346026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/window_sizer_gtk.cc')
-rw-r--r-- | chrome/browser/ui/window_sizer_gtk.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/ui/window_sizer_gtk.cc b/chrome/browser/ui/window_sizer_gtk.cc index 2d2dff6..6746eea 100644 --- a/chrome/browser/ui/window_sizer_gtk.cc +++ b/chrome/browser/ui/window_sizer_gtk.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -45,12 +45,6 @@ class DefaultMonitorInfoProvider : public WindowSizer::MonitorInfoProvider { return GetPrimaryMonitorWorkArea(); } - virtual gfx::Point GetBoundsOffsetMatching( - const gfx::Rect& match_rect) const { - // TODO(thestig) Implement multi-monitor support. - return GetPrimaryMonitorWorkArea().origin(); - } - void UpdateWorkAreas() { // TODO(thestig) Implement multi-monitor support. work_areas_.clear(); |