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

Side by Side Diff: chrome/browser/gtk/browser_toolbar_gtk.cc

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/gtk/browser_toolbar_gtk.h" 5 #include "chrome/browser/gtk/browser_toolbar_gtk.h"
6 6
7 #include <X11/XF86keysym.h> 7 #include <X11/XF86keysym.h>
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 22 matching lines...) Expand all
33 #include "chrome/browser/gtk/tabs/tab_strip_gtk.h" 33 #include "chrome/browser/gtk/tabs/tab_strip_gtk.h"
34 #include "chrome/browser/gtk/view_id_util.h" 34 #include "chrome/browser/gtk/view_id_util.h"
35 #include "chrome/browser/net/url_fixer_upper.h" 35 #include "chrome/browser/net/url_fixer_upper.h"
36 #include "chrome/browser/prefs/pref_service.h" 36 #include "chrome/browser/prefs/pref_service.h"
37 #include "chrome/browser/profiles/profile.h" 37 #include "chrome/browser/profiles/profile.h"
38 #include "chrome/browser/tab_contents/tab_contents.h" 38 #include "chrome/browser/tab_contents/tab_contents.h"
39 #include "chrome/browser/themes/browser_theme_provider.h" 39 #include "chrome/browser/themes/browser_theme_provider.h"
40 #include "chrome/browser/ui/browser.h" 40 #include "chrome/browser/ui/browser.h"
41 #include "chrome/browser/ui/toolbar/encoding_menu_controller.h" 41 #include "chrome/browser/ui/toolbar/encoding_menu_controller.h"
42 #include "chrome/browser/upgrade_detector.h" 42 #include "chrome/browser/upgrade_detector.h"
43 #include "chrome/common/chrome_switches.h"
44 #include "chrome/common/notification_details.h" 43 #include "chrome/common/notification_details.h"
45 #include "chrome/common/notification_service.h" 44 #include "chrome/common/notification_service.h"
46 #include "chrome/common/notification_type.h" 45 #include "chrome/common/notification_type.h"
47 #include "chrome/common/pref_names.h" 46 #include "chrome/common/pref_names.h"
48 #include "chrome/common/url_constants.h" 47 #include "chrome/common/url_constants.h"
49 #include "gfx/canvas_skia_paint.h" 48 #include "gfx/canvas_skia_paint.h"
50 #include "gfx/gtk_util.h" 49 #include "gfx/gtk_util.h"
51 #include "gfx/skbitmap_operations.h" 50 #include "gfx/skbitmap_operations.h"
52 #include "grit/chromium_strings.h" 51 #include "grit/chromium_strings.h"
53 #include "grit/generated_resources.h" 52 #include "grit/generated_resources.h"
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 int x_offset = base::i18n::IsRTL() ? 0 : 636 int x_offset = base::i18n::IsRTL() ? 0 :
638 sender->allocation.width - badge.width(); 637 sender->allocation.width - badge.width();
639 int y_offset = 0; 638 int y_offset = 0;
640 canvas.DrawBitmapInt( 639 canvas.DrawBitmapInt(
641 badge, 640 badge,
642 sender->allocation.x + x_offset, 641 sender->allocation.x + x_offset,
643 sender->allocation.y + y_offset); 642 sender->allocation.y + y_offset);
644 643
645 return FALSE; 644 return FALSE;
646 } 645 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698