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

Side by Side Diff: chrome/browser/file_select_helper.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/favicon/favicon_tab_helper.cc ('k') | chrome/browser/file_select_helper.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_FILE_SELECT_HELPER_H_ 5 #ifndef CHROME_BROWSER_FILE_SELECT_HELPER_H_
6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_ 6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 }; 67 };
68 68
69 // SelectFileDialog::Listener overrides. 69 // SelectFileDialog::Listener overrides.
70 virtual void FileSelected( 70 virtual void FileSelected(
71 const FilePath& path, int index, void* params) OVERRIDE; 71 const FilePath& path, int index, void* params) OVERRIDE;
72 virtual void MultiFilesSelected(const std::vector<FilePath>& files, 72 virtual void MultiFilesSelected(const std::vector<FilePath>& files,
73 void* params) OVERRIDE; 73 void* params) OVERRIDE;
74 virtual void FileSelectionCanceled(void* params) OVERRIDE; 74 virtual void FileSelectionCanceled(void* params) OVERRIDE;
75 75
76 // NotificationObserver overrides. 76 // NotificationObserver overrides.
77 virtual void Observe(NotificationType type, 77 virtual void Observe(int type,
78 const NotificationSource& source, 78 const NotificationSource& source,
79 const NotificationDetails& details) OVERRIDE; 79 const NotificationDetails& details) OVERRIDE;
80 80
81 // Kicks off a new directory enumeration. 81 // Kicks off a new directory enumeration.
82 void StartNewEnumeration(const FilePath& path, 82 void StartNewEnumeration(const FilePath& path,
83 int request_id, 83 int request_id,
84 RenderViewHost* render_view_host); 84 RenderViewHost* render_view_host);
85 85
86 // Callbacks from directory enumeration. 86 // Callbacks from directory enumeration.
87 virtual void OnListFile( 87 virtual void OnListFile(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Called when a direction enumeration is to be done. 135 // Called when a direction enumeration is to be done.
136 void OnEnumerateDirectory(int request_id, const FilePath& path); 136 void OnEnumerateDirectory(int request_id, const FilePath& path);
137 137
138 // FileSelectHelper, lazily created. 138 // FileSelectHelper, lazily created.
139 scoped_ptr<FileSelectHelper> file_select_helper_; 139 scoped_ptr<FileSelectHelper> file_select_helper_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(FileSelectObserver); 141 DISALLOW_COPY_AND_ASSIGN(FileSelectObserver);
142 }; 142 };
143 143
144 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ 144 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | chrome/browser/file_select_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698