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

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: sync Created 8 years, 11 months 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
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 bool has_focus_; 434 bool has_focus_;
435 435
436 // If true, the window stays on top of the screen. This is only used 436 // If true, the window stays on top of the screen. This is only used
437 // for types other than TYPE_CHILD. 437 // for types other than TYPE_CHILD.
438 bool always_on_top_; 438 bool always_on_top_;
439 439
440 // If true, we enable the content widget's double buffering. 440 // If true, we enable the content widget's double buffering.
441 // This is false by default. 441 // This is false by default.
442 bool is_double_buffered_; 442 bool is_double_buffered_;
443 443
444 // Indicates if we should handle the upcoming Alt key release event.
445 bool should_handle_menu_key_release_;
446
447 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the 444 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the
448 // view the drag started from. 445 // view the drag started from.
449 View* dragged_view_; 446 View* dragged_view_;
450 447
451 // If the widget has ever been painted. This is used to guarantee 448 // If the widget has ever been painted. This is used to guarantee
452 // that window manager shows the window only after the window is painted. 449 // that window manager shows the window only after the window is painted.
453 bool painted_; 450 bool painted_;
454 451
455 // The compositor for accelerated drawing. 452 // The compositor for accelerated drawing.
456 scoped_refptr<ui::Compositor> compositor_; 453 scoped_refptr<ui::Compositor> compositor_;
(...skipping 12 matching lines...) Expand all
469 bool is_menu_; 466 bool is_menu_;
470 467
471 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; 468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_;
472 469
473 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
474 }; 471 };
475 472
476 } // namespace views 473 } // namespace views
477 474
478 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 475 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698