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

Side by Side Diff: chrome/browser/ui/window_snapshot/window_snapshot_gtk.cc

Issue 8028012: More Aura fixes, renaming and stubbing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 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) 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 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" 5 #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
6 6
7 #include <gdk/gdkx.h> 7 #include <gdk/gdkx.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return gfx::Rect(); 57 return gfx::Rect();
58 } 58 }
59 cairo_surface_write_to_png_stream( 59 cairo_surface_write_to_png_stream(
60 surface, SnapshotCallback, png_representation); 60 surface, SnapshotCallback, png_representation);
61 cairo_surface_destroy(surface); 61 cairo_surface_destroy(surface);
62 62
63 return gfx::Rect(image->width, image->height); 63 return gfx::Rect(image->width, image->height);
64 } 64 }
65 65
66 } // namespace browser 66 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/ui/window_snapshot/window_snapshot_aura.cc ('k') | chrome/browser/ui/window_snapshot/window_snapshot_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698