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

Side by Side Diff: chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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/extensions/media_galleries_dialog_gtk.h" 5 #include "chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/media_galleries/media_galleries_preferences.h" 9 #include "chrome/browser/media_galleries/media_galleries_preferences.h"
10 #include "chrome/browser/ui/gtk/gtk_util.h" 10 #include "chrome/browser/ui/gtk/gtk_util.h"
11 #include "components/web_modal/web_contents_modal_dialog_manager.h" 11 #include "components/web_modal/web_contents_modal_dialog_manager.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "ui/base/gtk/gtk_hig_constants.h" 13 #include "ui/base/gtk/gtk_hig_constants.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 15
16 using web_modal::WebContentsModalDialogManager; 16 using web_modal::WebContentsModalDialogManager;
17 17
18 namespace chrome {
19
20 namespace { 18 namespace {
21 19
22 // Color used for additional attachment detail text for galleries. 20 // Color used for additional attachment detail text for galleries.
23 const GdkColor kDeemphasizedTextColor = GDK_COLOR_RGB(0x96, 0x96, 0x96); 21 const GdkColor kDeemphasizedTextColor = GDK_COLOR_RGB(0x96, 0x96, 0x96);
24 22
25 // Width and height of the scrollable area in which galleries are shown. 23 // Width and height of the scrollable area in which galleries are shown.
26 const int kGalleryControlScrollableWidth = 280; 24 const int kGalleryControlScrollableWidth = 280;
27 const int kGalleryControlScrollableHeight = 192; 25 const int kGalleryControlScrollableHeight = 192;
28 26
29 } // namespace 27 } // namespace
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 controller_->DialogFinished(accepted_); 237 controller_->DialogFinished(accepted_);
240 } 238 }
241 239
242 // MediaGalleriesDialogController ---------------------------------------------- 240 // MediaGalleriesDialogController ----------------------------------------------
243 241
244 // static 242 // static
245 MediaGalleriesDialog* MediaGalleriesDialog::Create( 243 MediaGalleriesDialog* MediaGalleriesDialog::Create(
246 MediaGalleriesDialogController* controller) { 244 MediaGalleriesDialogController* controller) {
247 return new MediaGalleriesDialogGtk(controller); 245 return new MediaGalleriesDialogGtk(controller);
248 } 246 }
249
250 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698