summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/compact_location_bar_host.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 21:29:50 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 21:29:50 +0000
commitc280bfdd4f944ed9c33f4306efa6d388d82a804a (patch)
treeb484c60677240261fbb04a554ac6efb49270e504 /chrome/browser/chromeos/compact_location_bar_host.cc
parent371d04994828cbb44f679f2191bbe515ded93809 (diff)
downloadchromium_src-c280bfdd4f944ed9c33f4306efa6d388d82a804a.zip
chromium_src-c280bfdd4f944ed9c33f4306efa6d388d82a804a.tar.gz
chromium_src-c280bfdd4f944ed9c33f4306efa6d388d82a804a.tar.bz2
Move compact navigation bar('s entry view) to main menu.
* Chagned main menu to use TYPE_WINDOW instead of POPUP. * Added hooks to close main menu when a user clicked non content area. (see MainMenuContainer::OnMousePressed and MainMenu::ActiveWindowChanged) * removed entry view from CompactNavigationBar view. We probably should rename this class (later). * Fixed a mouse coordinates issue in WidgetGtk: A location in the mouse event may not be in its gdk_window when it's originated from child gdk_window. * UIStyle's enum has to start with 0 * removed DLOG thas I checked in by accident. BUG=31766 TEST=manual: switch to compact navigation bar using ctrl-shift-c and confirm that no navigation entry in title bar. main menu has the navigation entry instead. Review URL: http://codereview.chromium.org/604015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/compact_location_bar_host.cc')
-rw-r--r--chrome/browser/chromeos/compact_location_bar_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/compact_location_bar_host.cc b/chrome/browser/chromeos/compact_location_bar_host.cc
index 98d4325..48cfc85 100644
--- a/chrome/browser/chromeos/compact_location_bar_host.cc
+++ b/chrome/browser/chromeos/compact_location_bar_host.cc
@@ -59,7 +59,6 @@ class MouseObserver : public MessageLoopForUI::Observer {
// root window's coordinates.
bool HitContentArea(GdkEvent* event) {
gfx::Point p(event->button.x_root, event->button.y_root);
- DLOG(WARNING) << "point:" << p;
// First, exclude the location bar as it's shown on top of
// content area.
if (HitOnScreen(host_->GetClbView(), p)) {