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

Side by Side Diff: chrome/browser/ui/gtk/info_bubble_gtk.cc

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards Created 9 years, 11 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 | « chrome/browser/ui/gtk/info_bubble_gtk.h ('k') | chrome/browser/ui/gtk/infobar_arrow_model.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/gtk/info_bubble_gtk.h" 5 #include "chrome/browser/gtk/info_bubble_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 gboolean InfoBubbleGtk::OnToplevelUnmap(GtkWidget* widget, GdkEvent* event) { 526 gboolean InfoBubbleGtk::OnToplevelUnmap(GtkWidget* widget, GdkEvent* event) {
527 Close(); 527 Close();
528 return FALSE; 528 return FALSE;
529 } 529 }
530 530
531 void InfoBubbleGtk::OnAnchorAllocate(GtkWidget* widget, 531 void InfoBubbleGtk::OnAnchorAllocate(GtkWidget* widget,
532 GtkAllocation* allocation) { 532 GtkAllocation* allocation) {
533 if (!UpdateArrowLocation(false)) 533 if (!UpdateArrowLocation(false))
534 MoveWindow(); 534 MoveWindow();
535 } 535 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/info_bubble_gtk.h ('k') | chrome/browser/ui/gtk/infobar_arrow_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698