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

Side by Side Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc

Issue 9390038: Move automation/ui_controls to ui/ui_controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_aura fix, sync Created 8 years, 9 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/tabs/tab_strip_gtk.h" 5 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 20 matching lines...) Expand all
31 #include "chrome/common/chrome_notification_types.h" 31 #include "chrome/common/chrome_notification_types.h"
32 #include "content/public/browser/notification_source.h" 32 #include "content/public/browser/notification_source.h"
33 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
34 #include "grit/theme_resources.h" 34 #include "grit/theme_resources.h"
35 #include "grit/theme_resources_standard.h" 35 #include "grit/theme_resources_standard.h"
36 #include "grit/ui_resources.h" 36 #include "grit/ui_resources.h"
37 #include "ui/base/animation/animation_delegate.h" 37 #include "ui/base/animation/animation_delegate.h"
38 #include "ui/base/animation/slide_animation.h" 38 #include "ui/base/animation/slide_animation.h"
39 #include "ui/base/dragdrop/gtk_dnd_util.h" 39 #include "ui/base/dragdrop/gtk_dnd_util.h"
40 #include "ui/base/gtk/gtk_compat.h" 40 #include "ui/base/gtk/gtk_compat.h"
41 #include "ui/base/gtk/gtk_screen_utils.h" 41 #include "ui/base/gtk/gtk_screen_util.h"
42 #include "ui/base/resource/resource_bundle.h" 42 #include "ui/base/resource/resource_bundle.h"
43 #include "ui/gfx/gtk_util.h" 43 #include "ui/gfx/gtk_util.h"
44 #include "ui/gfx/image/image.h" 44 #include "ui/gfx/image/image.h"
45 #include "ui/gfx/point.h" 45 #include "ui/gfx/point.h"
46 46
47 using content::WebContents; 47 using content::WebContents;
48 48
49 namespace { 49 namespace {
50 50
51 const int kDefaultAnimationDurationMs = 100; 51 const int kDefaultAnimationDurationMs = 100;
(...skipping 2200 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 } 2252 }
2253 2253
2254 void TabStripGtk::SetNewTabButtonBackground() { 2254 void TabStripGtk::SetNewTabButtonBackground() {
2255 SkColor color = theme_service_->GetColor( 2255 SkColor color = theme_service_->GetColor(
2256 ThemeService::COLOR_BUTTON_BACKGROUND); 2256 ThemeService::COLOR_BUTTON_BACKGROUND);
2257 SkBitmap* background = theme_service_->GetBitmapNamed( 2257 SkBitmap* background = theme_service_->GetBitmapNamed(
2258 IDR_THEME_WINDOW_CONTROL_BACKGROUND); 2258 IDR_THEME_WINDOW_CONTROL_BACKGROUND);
2259 SkBitmap* mask = theme_service_->GetBitmapNamed(IDR_NEWTAB_BUTTON_MASK); 2259 SkBitmap* mask = theme_service_->GetBitmapNamed(IDR_NEWTAB_BUTTON_MASK);
2260 newtab_button_->SetBackground(color, background, mask); 2260 newtab_button_->SetBackground(color, background, mask);
2261 } 2261 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698