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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_gtk.h

Issue 23653049: (not for review) Fix composited-to-non-composited corruption on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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) 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // monitor (if the widget is aligned with that edge). Negative values 314 // monitor (if the widget is aligned with that edge). Negative values
315 // indicate the left edge, positive the right. 315 // indicate the left edge, positive the right.
316 int dragged_at_horizontal_edge_; 316 int dragged_at_horizontal_edge_;
317 317
318 // The number of times the user has dragged against vertical edge of the 318 // The number of times the user has dragged against vertical edge of the
319 // monitor (if the widget is aligned with that edge). Negative values 319 // monitor (if the widget is aligned with that edge). Negative values
320 // indicate the top edge, positive the bottom. 320 // indicate the top edge, positive the bottom.
321 int dragged_at_vertical_edge_; 321 int dragged_at_vertical_edge_;
322 322
323 gfx::PluginWindowHandle compositing_surface_; 323 gfx::PluginWindowHandle compositing_surface_;
324 bool last_frame_was_composited_;
324 325
325 // The event for the last mouse down we handled. We need this for context 326 // The event for the last mouse down we handled. We need this for context
326 // menus and drags. 327 // menus and drags.
327 GdkEventButton* last_mouse_down_; 328 GdkEventButton* last_mouse_down_;
328 329
329 // Instance of accessibility information for the root of the AtkObject 330 // Instance of accessibility information for the root of the AtkObject
330 // tree representation of the WebKit render tree. 331 // tree representation of the WebKit render tree.
331 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 332 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
332 333
333 ui::GtkSignalRegistrar signals_; 334 ui::GtkSignalRegistrar signals_;
334 335
335 ui::LatencyInfo software_latency_info_; 336 ui::LatencyInfo software_latency_info_;
336 }; 337 };
337 338
338 } // namespace content 339 } // namespace content
339 340
340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 341 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698