Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Side by Side Diff: ui/views/widget/native_widget_gtk.h

Issue 8907029: AURA/X11: Handle VKEY_MENU accelerator on content area (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 bool has_focus_; 431 bool has_focus_;
432 432
433 // If true, the window stays on top of the screen. This is only used 433 // If true, the window stays on top of the screen. This is only used
434 // for types other than TYPE_CHILD. 434 // for types other than TYPE_CHILD.
435 bool always_on_top_; 435 bool always_on_top_;
436 436
437 // If true, we enable the content widget's double buffering. 437 // If true, we enable the content widget's double buffering.
438 // This is false by default. 438 // This is false by default.
439 bool is_double_buffered_; 439 bool is_double_buffered_;
440 440
441 // Indicates if we should handle the upcoming Alt key release event.
442 bool should_handle_menu_key_release_;
443
444 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the 441 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the
445 // view the drag started from. 442 // view the drag started from.
446 View* dragged_view_; 443 View* dragged_view_;
447 444
448 // If the widget has ever been painted. This is used to guarantee 445 // If the widget has ever been painted. This is used to guarantee
449 // that window manager shows the window only after the window is painted. 446 // that window manager shows the window only after the window is painted.
450 bool painted_; 447 bool painted_;
451 448
452 // The compositor for accelerated drawing. 449 // The compositor for accelerated drawing.
453 scoped_refptr<ui::Compositor> compositor_; 450 scoped_refptr<ui::Compositor> compositor_;
(...skipping 12 matching lines...) Expand all
466 bool is_menu_; 463 bool is_menu_;
467 464
468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; 465 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_;
469 466
470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 467 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
471 }; 468 };
472 469
473 } // namespace views 470 } // namespace views
474 471
475 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 472 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698