From f409f566b898a7b10e1baceecbcaa26cfd0b17f3 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Wed, 15 Apr 2009 20:42:54 +0000 Subject: Make the omnibox popup look nicer. Add dropshadow images (not final). Experiment with some effects. Adds a positioner interface that allows the popup to size itself to the width of the edit view + the width of the star and go buttons. (Basically the toolbar needs to help the popup position itself). No results yet! Review URL: http://codereview.chromium.org/68011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13784 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/external_tab_container.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/external_tab_container.cc') diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index c424375..821bdd2 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -346,11 +346,11 @@ views::RootView* ExternalTabContainer::GetRootView() { return const_cast(&root_view_); } -bool ExternalTabContainer::IsVisible() { +bool ExternalTabContainer::IsVisible() const { return !!::IsWindowVisible(*this); } -bool ExternalTabContainer::IsActive() { +bool ExternalTabContainer::IsActive() const { return win_util::IsWindowActive(*this); } -- cgit v1.1