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

Side by Side Diff: chrome/browser/gtk/extension_installed_bubble_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
« no previous file with comments | « chrome/browser/gtk/extension_install_prompt_gtk.cc ('k') | chrome/browser/gtk/find_bar_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/extension_installed_bubble_gtk.h" 5 #include "chrome/browser/gtk/extension_installed_bubble_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/browser.h" 12 #include "chrome/browser/browser.h"
12 #include "chrome/browser/gtk/browser_actions_toolbar_gtk.h" 13 #include "chrome/browser/gtk/browser_actions_toolbar_gtk.h"
13 #include "chrome/browser/gtk/browser_toolbar_gtk.h" 14 #include "chrome/browser/gtk/browser_toolbar_gtk.h"
14 #include "chrome/browser/gtk/browser_window_gtk.h" 15 #include "chrome/browser/gtk/browser_window_gtk.h"
15 #include "chrome/browser/gtk/gtk_theme_provider.h" 16 #include "chrome/browser/gtk/gtk_theme_provider.h"
16 #include "chrome/browser/gtk/gtk_util.h" 17 #include "chrome/browser/gtk/gtk_util.h"
17 #include "chrome/browser/gtk/location_bar_view_gtk.h" 18 #include "chrome/browser/gtk/location_bar_view_gtk.h"
18 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
19 #include "chrome/common/extensions/extension_action.h" 20 #include "chrome/common/extensions/extension_action.h"
20 #include "chrome/common/notification_service.h" 21 #include "chrome/common/notification_service.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // the window before we call Release() because close_button_ depends 242 // the window before we call Release() because close_button_ depends
242 // on all references being cleared before it is destroyed. 243 // on all references being cleared before it is destroyed.
243 MessageLoopForUI::current()->PostTask(FROM_HERE, NewRunnableMethod(this, 244 MessageLoopForUI::current()->PostTask(FROM_HERE, NewRunnableMethod(this,
244 &ExtensionInstalledBubbleGtk::Close)); 245 &ExtensionInstalledBubbleGtk::Close));
245 } 246 }
246 247
247 void ExtensionInstalledBubbleGtk::Close() { 248 void ExtensionInstalledBubbleGtk::Close() {
248 Release(); // Balanced in ctor. 249 Release(); // Balanced in ctor.
249 info_bubble_ = NULL; 250 info_bubble_ = NULL;
250 } 251 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/extension_install_prompt_gtk.cc ('k') | chrome/browser/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698