summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 01:07:36 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 01:07:36 +0000
commit4a3111474cda4b74c26620fd58c3c843b96df7fc (patch)
treec23daaf1d521d866eefe895637d04ee5d3088e92 /views/widget
parent341fbaa85d75ae8832993ec472ca67cdb82d45a1 (diff)
downloadchromium_src-4a3111474cda4b74c26620fd58c3c843b96df7fc.zip
chromium_src-4a3111474cda4b74c26620fd58c3c843b96df7fc.tar.gz
chromium_src-4a3111474cda4b74c26620fd58c3c843b96df7fc.tar.bz2
Fixes bug where recreating fixed in NativeViewHostGtk causes focus to
get lost. This caused problems when going in/out of fullscreen mode. I'm also improving the description of the WidgetGtk types. CHROMEOS_BUG=1020 TEST=see bug Review URL: http://codereview.chromium.org/518041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget_gtk.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h
index e748945..4efe515 100644
--- a/views/widget/widget_gtk.h
+++ b/views/widget/widget_gtk.h
@@ -38,12 +38,17 @@ class WidgetGtk
// Type of widget.
enum Type {
// Used for popup type windows (bubbles, menus ...).
+ // NOTE: on X windows of this type can NOT get focus. If you need a popup
+ // like widget that can be focused use TYPE_WINDOW and set the window type
+ // to WINDOW_TYPE_CHROME_INFO_BUBBLE.
TYPE_POPUP,
- // A top level window with no title, no control buttons.
- // control.
+
+ // A top level window with no title or control buttons.
TYPE_WINDOW,
+
// A top level, decorated window.
TYPE_DECORATED_WINDOW,
+
// A child widget.
TYPE_CHILD
};