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

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

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 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
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/location_bar_view_gtk.h" 5 #include "chrome/browser/gtk/location_bar_view_gtk.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/gtk_dnd_util.h" 9 #include "app/gtk_dnd_util.h"
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/utf_string_conversions.h"
16 #include "chrome/app/chrome_dll_resource.h" 17 #include "chrome/app/chrome_dll_resource.h"
17 #include "chrome/browser/accessibility_events.h" 18 #include "chrome/browser/accessibility_events.h"
18 #include "chrome/browser/alternate_nav_url_fetcher.h" 19 #include "chrome/browser/alternate_nav_url_fetcher.h"
19 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" 20 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h"
20 #include "chrome/browser/browser.h" 21 #include "chrome/browser/browser.h"
21 #include "chrome/browser/browser_list.h" 22 #include "chrome/browser/browser_list.h"
22 #include "chrome/browser/command_updater.h" 23 #include "chrome/browser/command_updater.h"
23 #include "chrome/browser/content_setting_bubble_model.h" 24 #include "chrome/browser/content_setting_bubble_model.h"
24 #include "chrome/browser/content_setting_image_model.h" 25 #include "chrome/browser/content_setting_image_model.h"
25 #include "chrome/browser/defaults.h" 26 #include "chrome/browser/defaults.h"
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 1421
1421 std::string badge_text = page_action_->GetBadgeText(tab_id); 1422 std::string badge_text = page_action_->GetBadgeText(tab_id);
1422 if (badge_text.empty()) 1423 if (badge_text.empty())
1423 return FALSE; 1424 return FALSE;
1424 1425
1425 gfx::CanvasSkiaPaint canvas(event, false); 1426 gfx::CanvasSkiaPaint canvas(event, false);
1426 gfx::Rect bounding_rect(widget->allocation); 1427 gfx::Rect bounding_rect(widget->allocation);
1427 page_action_->PaintBadge(&canvas, bounding_rect, tab_id); 1428 page_action_->PaintBadge(&canvas, bounding_rect, tab_id);
1428 return FALSE; 1429 return FALSE;
1429 } 1430 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/hung_renderer_dialog_gtk.cc ('k') | chrome/browser/gtk/options/content_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698