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

Side by Side Diff: ui/gfx/gtk_native_view_id_manager.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/gfx/gtk_native_view_id_manager.h ('k') | ui/gfx/gtk_preserve_window.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "gfx/gtk_native_view_id_manager.h" 5 #include "ui/gfx/gtk_native_view_id_manager.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkx.h> 8 #include <gdk/gdkx.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/rand_util.h" 11 #include "base/rand_util.h"
12 #include "gfx/gtk_preserve_window.h" 12 #include "ui/gfx/gtk_preserve_window.h"
13 13
14 // ----------------------------------------------------------------------------- 14 // -----------------------------------------------------------------------------
15 // Bounce functions for GTK to callback into a C++ object... 15 // Bounce functions for GTK to callback into a C++ object...
16 16
17 void OnRealize(gfx::NativeView widget, void* arg) { 17 void OnRealize(gfx::NativeView widget, void* arg) {
18 GtkNativeViewManager* manager = reinterpret_cast<GtkNativeViewManager*>(arg); 18 GtkNativeViewManager* manager = reinterpret_cast<GtkNativeViewManager*>(arg);
19 manager->OnRealize(widget); 19 manager->OnRealize(widget);
20 } 20 }
21 21
22 void OnUnrealize(gfx::NativeView widget, void *arg) { 22 void OnUnrealize(gfx::NativeView widget, void *arg) {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 if (k != perm_xid_to_info_.end()) 215 if (k != perm_xid_to_info_.end())
216 k->second.widget = NULL; 216 k->second.widget = NULL;
217 } 217 }
218 218
219 native_view_to_id_.erase(i); 219 native_view_to_id_.erase(i);
220 id_to_info_.erase(j); 220 id_to_info_.erase(j);
221 } 221 }
222 222
223 // ----------------------------------------------------------------------------- 223 // -----------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « ui/gfx/gtk_native_view_id_manager.h ('k') | ui/gfx/gtk_preserve_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698