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

Side by Side Diff: views/controls/native/native_view_host_gtk.h

Issue 7171025: Fix flicker on tab switch on chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Null out host_widget_ after removing it Created 9 years, 5 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
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 VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_ 5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_
6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_ 6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <string> 10 #include <string>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // Signal handle id for 'destroy' signal. 79 // Signal handle id for 'destroy' signal.
80 gulong destroy_signal_id_; 80 gulong destroy_signal_id_;
81 81
82 // Signal handle id for 'focus-in-event' signal. 82 // Signal handle id for 'focus-in-event' signal.
83 gulong focus_signal_id_; 83 gulong focus_signal_id_;
84 84
85 // The GtkFixed that contains the attached gfx::NativeView (used for 85 // The GtkFixed that contains the attached gfx::NativeView (used for
86 // clipping). 86 // clipping).
87 GtkWidget* fixed_; 87 GtkWidget* fixed_;
88 88
89 // The native view contained within fixed_.
90 GtkWidget* host_widget_;
sky 2011/07/01 20:00:38 How come you need to cache this? If it's because o
DaveMoore 2011/07/01 20:13:34 This is cached because by the time of the destruct
91
89 DISALLOW_COPY_AND_ASSIGN(NativeViewHostGtk); 92 DISALLOW_COPY_AND_ASSIGN(NativeViewHostGtk);
90 }; 93 };
91 94
92 } // namespace views 95 } // namespace views
93 96
94 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_ 97 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | views/controls/native/native_view_host_gtk.cc » ('j') | views/controls/native/native_view_host_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698