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

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

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/gtk/custom_button.cc ('k') | chrome/browser/history/query_parser_unittest.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/download_shelf_gtk.h" 5 #include "chrome/browser/gtk/download_shelf_gtk.h"
6 6
7 #include "base/gfx/gtk_util.h" 7 #include "base/gfx/gtk_util.h"
8 #include "base/logging.h"
9 #include "chrome/browser/download/download_item_model.h" 8 #include "chrome/browser/download/download_item_model.h"
10 #include "chrome/browser/gtk/custom_button.h" 9 #include "chrome/browser/gtk/custom_button.h"
11 #include "chrome/browser/gtk/download_item_gtk.h" 10 #include "chrome/browser/gtk/download_item_gtk.h"
12 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
13 #include "chrome/common/l10n_util.h" 12 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/resource_bundle.h" 13 #include "chrome/common/resource_bundle.h"
15 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
16 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
17 16
18 namespace { 17 namespace {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // static 205 // static
207 void DownloadShelfGtk::OnButtonClick(GtkWidget* button, 206 void DownloadShelfGtk::OnButtonClick(GtkWidget* button,
208 DownloadShelfGtk* shelf) { 207 DownloadShelfGtk* shelf) {
209 if (button == shelf->close_button_->widget()) { 208 if (button == shelf->close_button_->widget()) {
210 shelf->Hide(); 209 shelf->Hide();
211 } else { 210 } else {
212 // The link button was clicked. 211 // The link button was clicked.
213 shelf->ShowAllDownloads(); 212 shelf->ShowAllDownloads();
214 } 213 }
215 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/custom_button.cc ('k') | chrome/browser/history/query_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698