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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 9 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
10 #include "chrome/browser/ui/gtk/gtk_util.h" 10 #include "chrome/browser/ui/gtk/gtk_util.h"
11 #include "chrome/browser/ui/gtk/rounded_window.h" 11 #include "chrome/browser/ui/gtk/rounded_window.h"
12 #include "content/browser/renderer_host/render_widget_host_view.h" 12 #include "content/public/browser/render_widget_host_view.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "grit/ui_strings.h" 14 #include "grit/ui_strings.h"
15 #include "ui/base/gtk/gtk_floating_container.h" 15 #include "ui/base/gtk/gtk_floating_container.h"
16 #include "ui/base/gtk/gtk_hig_constants.h" 16 #include "ui/base/gtk/gtk_hig_constants.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 18
19 namespace { 19 namespace {
20 const GdkColor kFrameColor = GDK_COLOR_RGB(0x63, 0x63, 0x63); 20 const GdkColor kFrameColor = GDK_COLOR_RGB(0x63, 0x63, 0x63);
21 const int kMiddlePaddingPx = 30; 21 const int kMiddlePaddingPx = 30;
22 } // namespace 22 } // namespace
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 ToggleFullscreen(); 237 ToggleFullscreen();
238 } 238 }
239 239
240 void FullscreenExitBubbleGtk::OnAllowClicked(GtkWidget* button) { 240 void FullscreenExitBubbleGtk::OnAllowClicked(GtkWidget* button) {
241 Accept(); 241 Accept();
242 UpdateContent(url_, bubble_type_); 242 UpdateContent(url_, bubble_type_);
243 } 243 }
244 void FullscreenExitBubbleGtk::OnDenyClicked(GtkWidget* button) { 244 void FullscreenExitBubbleGtk::OnDenyClicked(GtkWidget* button) {
245 Cancel(); 245 Cancel();
246 } 246 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/extensions/shell_window_gtk.cc ('k') | chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698