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

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

Issue 7701012: content: Move gtk_floating_container to ui/base/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and test on views/chromeos Created 9 years, 4 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/gtk/fullscreen_exit_bubble_gtk.h" 5 #include "chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h"
6 6
7 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 7 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
8 #include "chrome/browser/ui/gtk/gtk_floating_container.h"
9 #include "chrome/browser/ui/gtk/gtk_util.h" 8 #include "chrome/browser/ui/gtk/gtk_util.h"
10 #include "chrome/browser/ui/gtk/rounded_window.h" 9 #include "chrome/browser/ui/gtk/rounded_window.h"
11 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
12 #include "grit/ui_strings.h" 11 #include "grit/ui_strings.h"
12 #include "ui/base/gtk/gtk_floating_container.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 FullscreenExitBubbleGtk::FullscreenExitBubbleGtk( 15 FullscreenExitBubbleGtk::FullscreenExitBubbleGtk(
16 GtkFloatingContainer* container, 16 GtkFloatingContainer* container,
17 CommandUpdater::CommandUpdaterDelegate* delegate) 17 CommandUpdater::CommandUpdaterDelegate* delegate)
18 : FullscreenExitBubble(delegate), 18 : FullscreenExitBubble(delegate),
19 container_(container) { 19 container_(container) {
20 InitWidgets(); 20 InitWidgets();
21 StartWatchingMouse(); 21 StartWatchingMouse();
22 } 22 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 g_value_set_int(&value, 0); 131 g_value_set_int(&value, 0);
132 gtk_container_child_set_property(GTK_CONTAINER(floating_container), 132 gtk_container_child_set_property(GTK_CONTAINER(floating_container),
133 widget(), "y", &value); 133 widget(), "y", &value);
134 g_value_unset(&value); 134 g_value_unset(&value);
135 } 135 }
136 136
137 void FullscreenExitBubbleGtk::OnLinkClicked(GtkWidget* link) { 137 void FullscreenExitBubbleGtk::OnLinkClicked(GtkWidget* link) {
138 ToggleFullscreen(); 138 ToggleFullscreen();
139 } 139 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/gtk/gtk_floating_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698