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

Unified Diff: chrome/browser/ui/select_file_dialog.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed Created 8 years, 10 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/select_file_dialog.h
diff --git a/chrome/browser/ui/select_file_dialog.h b/chrome/browser/ui/select_file_dialog.h
index f2a795e28c956c5a1e99d93dcdee460f108b6d89..c2c5979ecc642261ffca20b0524795fe7cb1595b 100644
--- a/chrome/browser/ui/select_file_dialog.h
+++ b/chrome/browser/ui/select_file_dialog.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -12,6 +12,7 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/string16.h"
+#include "chrome/browser/ui/base_shell_dialog.h"
#include "ui/gfx/native_widget_types.h"
namespace content {
@@ -24,21 +25,6 @@ extern std::wstring AppendExtensionIfNeeded(const std::wstring& filename,
const std::wstring& filter_selected,
const std::wstring& suggested_ext);
-// A base class for shell dialogs.
-class BaseShellDialog {
- public:
- // Returns true if a shell dialog box is currently being shown modally
- // to the specified owner.
- virtual bool IsRunning(gfx::NativeWindow owning_window) const = 0;
-
- // Notifies the dialog box that the listener has been destroyed and it should
- // no longer be sent notifications.
- virtual void ListenerDestroyed() = 0;
-
- protected:
- virtual ~BaseShellDialog() {}
-};
-
// Shows a dialog box for selecting a file or a folder.
class SelectFileDialog
: public base::RefCountedThreadSafe<SelectFileDialog>,

Powered by Google App Engine
This is Rietveld 408576698