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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_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/browser_window_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include <dlfcn.h> 9 #include <dlfcn.h>
10 #include <string> 10 #include <string>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "chrome/browser/ui/gtk/browser_toolbar_gtk.h" 47 #include "chrome/browser/ui/gtk/browser_toolbar_gtk.h"
48 #include "chrome/browser/ui/gtk/cairo_cached_surface.h" 48 #include "chrome/browser/ui/gtk/cairo_cached_surface.h"
49 #include "chrome/browser/ui/gtk/collected_cookies_gtk.h" 49 #include "chrome/browser/ui/gtk/collected_cookies_gtk.h"
50 #include "chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h" 50 #include "chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h"
51 #include "chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h" 51 #include "chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h"
52 #include "chrome/browser/ui/gtk/download/download_shelf_gtk.h" 52 #include "chrome/browser/ui/gtk/download/download_shelf_gtk.h"
53 #include "chrome/browser/ui/gtk/edit_search_engine_dialog.h" 53 #include "chrome/browser/ui/gtk/edit_search_engine_dialog.h"
54 #include "chrome/browser/ui/gtk/find_bar_gtk.h" 54 #include "chrome/browser/ui/gtk/find_bar_gtk.h"
55 #include "chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h" 55 #include "chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h"
56 #include "chrome/browser/ui/gtk/global_menu_bar.h" 56 #include "chrome/browser/ui/gtk/global_menu_bar.h"
57 #include "chrome/browser/ui/gtk/gtk_floating_container.h"
58 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 57 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
59 #include "chrome/browser/ui/gtk/gtk_util.h" 58 #include "chrome/browser/ui/gtk/gtk_util.h"
60 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h" 59 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h"
61 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" 60 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
62 #include "chrome/browser/ui/gtk/location_bar_view_gtk.h" 61 #include "chrome/browser/ui/gtk/location_bar_view_gtk.h"
63 #include "chrome/browser/ui/gtk/nine_box.h" 62 #include "chrome/browser/ui/gtk/nine_box.h"
64 #include "chrome/browser/ui/gtk/reload_button_gtk.h" 63 #include "chrome/browser/ui/gtk/reload_button_gtk.h"
65 #include "chrome/browser/ui/gtk/repost_form_warning_gtk.h" 64 #include "chrome/browser/ui/gtk/repost_form_warning_gtk.h"
66 #include "chrome/browser/ui/gtk/status_bubble_gtk.h" 65 #include "chrome/browser/ui/gtk/status_bubble_gtk.h"
67 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" 66 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h"
(...skipping 16 matching lines...) Expand all
84 #include "content/browser/tab_contents/tab_contents.h" 83 #include "content/browser/tab_contents/tab_contents.h"
85 #include "content/browser/tab_contents/tab_contents_view.h" 84 #include "content/browser/tab_contents/tab_contents_view.h"
86 #include "content/common/native_web_keyboard_event.h" 85 #include "content/common/native_web_keyboard_event.h"
87 #include "content/common/notification_service.h" 86 #include "content/common/notification_service.h"
88 #include "content/common/view_messages.h" 87 #include "content/common/view_messages.h"
89 #include "grit/chromium_strings.h" 88 #include "grit/chromium_strings.h"
90 #include "grit/generated_resources.h" 89 #include "grit/generated_resources.h"
91 #include "grit/theme_resources.h" 90 #include "grit/theme_resources.h"
92 #include "grit/theme_resources_standard.h" 91 #include "grit/theme_resources_standard.h"
93 #include "grit/ui_resources.h" 92 #include "grit/ui_resources.h"
93 #include "ui/base/gtk/gtk_floating_container.h"
94 #include "ui/base/keycodes/keyboard_codes.h" 94 #include "ui/base/keycodes/keyboard_codes.h"
95 #include "ui/base/l10n/l10n_util.h" 95 #include "ui/base/l10n/l10n_util.h"
96 #include "ui/gfx/gtk_util.h" 96 #include "ui/gfx/gtk_util.h"
97 #include "ui/gfx/rect.h" 97 #include "ui/gfx/rect.h"
98 #include "ui/gfx/skia_utils_gtk.h" 98 #include "ui/gfx/skia_utils_gtk.h"
99 99
100 namespace { 100 namespace {
101 101
102 // The number of milliseconds between loading animation frames. 102 // The number of milliseconds between loading animation frames.
103 const int kLoadingAnimationFrameTimeMs = 30; 103 const int kLoadingAnimationFrameTimeMs = 30;
(...skipping 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 // are taken from the WMs' source code. 2387 // are taken from the WMs' source code.
2388 return (wm_name == "Blackbox" || 2388 return (wm_name == "Blackbox" ||
2389 wm_name == "compiz" || 2389 wm_name == "compiz" ||
2390 wm_name == "Compiz" || 2390 wm_name == "Compiz" ||
2391 wm_name == "e16" || // Enlightenment DR16 2391 wm_name == "e16" || // Enlightenment DR16
2392 wm_name == "Metacity" || 2392 wm_name == "Metacity" ||
2393 wm_name == "Mutter" || 2393 wm_name == "Mutter" ||
2394 wm_name == "Openbox" || 2394 wm_name == "Openbox" ||
2395 wm_name == "Xfwm4"); 2395 wm_name == "Xfwm4");
2396 } 2396 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/browser/ui/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698