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

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

Issue 6296012: Update references part 2: files in chrome/browser/ui/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
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/gtk/fullscreen_exit_bubble_gtk.h" 5 #include "chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "chrome/browser/gtk/gtk_chrome_link_button.h" 8 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
9 #include "chrome/browser/gtk/gtk_floating_container.h" 9 #include "chrome/browser/ui/gtk/gtk_floating_container.h"
10 #include "chrome/browser/gtk/gtk_util.h" 10 #include "chrome/browser/ui/gtk/gtk_util.h"
11 #include "chrome/browser/gtk/rounded_window.h" 11 #include "chrome/browser/ui/gtk/rounded_window.h"
12 #include "grit/app_strings.h" 12 #include "grit/app_strings.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 14
15 namespace { 15 namespace {
16 16
17 // Padding around the link text. 17 // Padding around the link text.
18 const int kPaddingPixels = 8; 18 const int kPaddingPixels = 8;
19 19
20 // Time before the link slides away. This is a bit longer than the Windows 20 // Time before the link slides away. This is a bit longer than the Windows
21 // timeout because we don't yet support reshowing when the mouse moves to the 21 // timeout because we don't yet support reshowing when the mouse moves to the
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 g_value_set_int(&value, 0); 98 g_value_set_int(&value, 0);
99 gtk_container_child_set_property(GTK_CONTAINER(floating_container), 99 gtk_container_child_set_property(GTK_CONTAINER(floating_container),
100 widget(), "y", &value); 100 widget(), "y", &value);
101 g_value_unset(&value); 101 g_value_unset(&value);
102 } 102 }
103 103
104 void FullscreenExitBubbleGtk::OnLinkClicked(GtkWidget* link) { 104 void FullscreenExitBubbleGtk::OnLinkClicked(GtkWidget* link) {
105 GtkWindow* window = GTK_WINDOW(gtk_widget_get_toplevel(widget())); 105 GtkWindow* window = GTK_WINDOW(gtk_widget_get_toplevel(widget()));
106 gtk_window_unfullscreen(window); 106 gtk_window_unfullscreen(window);
107 } 107 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h ('k') | chrome/browser/ui/gtk/gconf_titlebar_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698