diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 22:08:58 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 22:08:58 +0000 |
commit | 82c7bfb8ca07b27406154548434eca6dc111b097 (patch) | |
tree | 91bf01cc93abafa9f352ead86ac9117ecde7dd87 /chrome/browser/ui/gtk/browser_window_gtk.cc | |
parent | b278f54a3da951e3a222c2dc53c6d0b577a0891d (diff) | |
download | chromium_src-82c7bfb8ca07b27406154548434eca6dc111b097.zip chromium_src-82c7bfb8ca07b27406154548434eca6dc111b097.tar.gz chromium_src-82c7bfb8ca07b27406154548434eca6dc111b097.tar.bz2 |
content: Reapply "Start splitting up chrome/browser/ui/gtk/gtk_util.h" (r98287)
Now with fixes for builds that trybots don't cover by default.
(This yak needs shaving because chunks of gtk using code in chrome/ are being
moved to content/ to build the content_shell, but we can't depend on code in
chrome/. While I'm here, split gtk_util.h into a set of logical chunks: hig
constants, widget factory functions, etc instead of just moving the file.)
BUG=93804
TEST=none; code move
First Review URL: http://codereview.chromium.org/7737001
Review URL: http://codereview.chromium.org/7748026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/browser_window_gtk.cc')
-rw-r--r-- | chrome/browser/ui/gtk/browser_window_gtk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc index 9415480..04da093 100644 --- a/chrome/browser/ui/gtk/browser_window_gtk.cc +++ b/chrome/browser/ui/gtk/browser_window_gtk.cc @@ -91,6 +91,7 @@ #include "grit/theme_resources_standard.h" #include "grit/ui_resources.h" #include "ui/base/gtk/gtk_floating_container.h" +#include "ui/base/gtk/gtk_hig_constants.h" #include "ui/base/keycodes/keyboard_codes.h" #include "ui/base/l10n/l10n_util.h" #include "ui/gfx/gtk_util.h" @@ -1752,7 +1753,7 @@ void BrowserWindowGtk::InitWidgets() { // Set a white background so during startup the user sees white in the // content area before we get a TabContents in place. gtk_widget_modify_bg(render_area_event_box_, GTK_STATE_NORMAL, - >k_util::kGdkWhite); + &ui::kGdkWhite); gtk_container_add(GTK_CONTAINER(render_area_event_box_), render_area_floating_container_); gtk_widget_show(render_area_event_box_); |