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

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

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « app/gfx/gtk_native_view_id_manager.h ('k') | app/gfx/native_widget_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/gtk_native_view_id_manager.cc:r69-2775
Added: svn:eol-style
+ LF
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 "base/gfx/gtk_native_view_id_manager.h" 5 #include "app/gfx/gtk_native_view_id_manager.h"
6 6
7 #include "base/gfx/rect.h" 7 #include "base/gfx/rect.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 10
11 #include <gtk/gtk.h> 11 #include <gtk/gtk.h>
12 #include <gdk/gdkx.h> 12 #include <gdk/gdkx.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...
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 std::map<gfx::NativeViewId, NativeViewInfo>::iterator j = 137 std::map<gfx::NativeViewId, NativeViewInfo>::iterator j =
138 id_to_info_.find(i->second); 138 id_to_info_.find(i->second);
139 CHECK(j != id_to_info_.end()); 139 CHECK(j != id_to_info_.end());
140 140
141 native_view_to_id_.erase(i); 141 native_view_to_id_.erase(i);
142 id_to_info_.erase(j); 142 id_to_info_.erase(j);
143 } 143 }
144 144
145 // ----------------------------------------------------------------------------- 145 // -----------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « app/gfx/gtk_native_view_id_manager.h ('k') | app/gfx/native_widget_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698