summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/info_bubble.cc
diff options
context:
space:
mode:
authorjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 23:12:33 +0000
committerjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 23:12:33 +0000
commitcfe5c1375a0dafe47ffb4b9223d33253fc01e8fa (patch)
tree15e23a948bbec2ee6b20d9a95645a477279e7bf9 /chrome/browser/views/info_bubble.cc
parentddf8a4b03ca007cc55ead2000aa6b54d0319cd56 (diff)
downloadchromium_src-cfe5c1375a0dafe47ffb4b9223d33253fc01e8fa.zip
chromium_src-cfe5c1375a0dafe47ffb4b9223d33253fc01e8fa.tar.gz
chromium_src-cfe5c1375a0dafe47ffb4b9223d33253fc01e8fa.tar.bz2
Porting the app launcher to Windows, and adding an experimental flag
so the app launcher shows when you open a new tab. Also removing the graying-out of the browser when the app launcher is showng for now, as it is not clear how to make it cross-platform. BUG=None TEST=Start Chrome with --app-launcher-new-tab. Opening a new tab should bring the app launcher (still a prototype at this point). Review URL: http://codereview.chromium.org/1145001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/info_bubble.cc')
-rw-r--r--chrome/browser/views/info_bubble.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc
index 7f21bca..e1bb401 100644
--- a/chrome/browser/views/info_bubble.cc
+++ b/chrome/browser/views/info_bubble.cc
@@ -264,7 +264,7 @@ void InfoBubble::Init(views::Window* parent,
// Calculate and set the bounds for all windows and views.
gfx::Rect window_bounds;
- bool prefer_arrow_on_right =
+ bool prefer_arrow_on_right = delegate &&
(contents->UILayoutIsRightToLeft() == delegate->PreferOriginSideAnchor());
#if defined(OS_WIN)