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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.h

Issue 11878031: Bring back the file dialogs for chrome AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/libgtk2ui/gtk2_ui.h
===================================================================
--- chrome/browser/ui/libgtk2ui/gtk2_ui.h (revision 177210)
+++ chrome/browser/ui/libgtk2ui/gtk2_ui.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,8 +11,8 @@
#include "base/compiler_specific.h"
#include "chrome/browser/ui/libgtk2ui/libgtk2ui_export.h"
#include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h"
-#include "ui/base/linux_ui.h"
#include "ui/gfx/color_utils.h"
+#include "ui/shell_dialogs/linux_ui_shell_dialog.h"
typedef struct _GdkColor GdkColor;
typedef struct _GtkStyle GtkStyle;
@@ -28,7 +28,7 @@
// Interface to GTK2 desktop features.
//
-class Gtk2UI : public ui::LinuxUI {
+class Gtk2UI : public ui::LinuxUIShellDialog {
public:
Gtk2UI();
virtual ~Gtk2UI();
@@ -37,6 +37,8 @@
virtual bool UseNativeTheme() const OVERRIDE;
virtual gfx::Image* GetThemeImageNamed(int id) const OVERRIDE;
virtual bool GetColor(int id, SkColor* color) const OVERRIDE;
+
+ // ui::LinuxUIShellDialog:
virtual ui::SelectFileDialog* CreateSelectFileDialog(
ui::SelectFileDialog::Listener* listener,
ui::SelectFilePolicy* policy) const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/intents/native_file_picker_service.cc ('k') | chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698