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

Unified Diff: chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa.h

Issue 11414153: Remove legacy constrained window dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/cocoa/intents/web_intent_picker_cocoa.h
diff --git a/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h b/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa.h
similarity index 79%
rename from chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h
rename to chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa.h
index 3f57fa02386e406284f15e8afec91aaf9d76a2e5..0e0fed335caa19310c61a3bd8a811fd99e9dcd35 100644
--- a/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h
+++ b/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA2_H_
-#define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA2_H_
+#ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA_H_
+#define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA_H_
#import <Cocoa/Cocoa.h>
@@ -15,16 +15,15 @@
@class WebIntentPickerViewController;
// An implementation of WebIntentPicker for Cocoa. Bridges between the C++ and
-// the Cocoa WebIntentPickerViewController object. Note, this will eventually
-// replace WebIntentPickerCocoa, see http://crbug.com/152010.
-class WebIntentPickerCocoa2 : public WebIntentPicker,
- public WebIntentPickerModelObserver,
- public ConstrainedWindowMacDelegate2 {
+// the Cocoa WebIntentPickerViewController object.
+class WebIntentPickerCocoa : public WebIntentPicker,
+ public WebIntentPickerModelObserver,
+ public ConstrainedWindowMacDelegate2 {
public:
- WebIntentPickerCocoa2(content::WebContents* web_contents,
- WebIntentPickerDelegate* delegate,
- WebIntentPickerModel* model);
- virtual ~WebIntentPickerCocoa2();
+ WebIntentPickerCocoa(content::WebContents* web_contents,
+ WebIntentPickerDelegate* delegate,
+ WebIntentPickerModel* model);
+ virtual ~WebIntentPickerCocoa();
WebIntentPickerDelegate* delegate() const {
DCHECK(delegate_);
@@ -81,7 +80,7 @@ class WebIntentPickerCocoa2 : public WebIntentPicker,
scoped_nsobject<WebIntentPickerViewController> view_controller_;
scoped_ptr<ConstrainedWindowMac2> constrained_window_;
bool update_pending_;
- base::WeakPtrFactory<WebIntentPickerCocoa2> weak_ptr_factory_;
+ base::WeakPtrFactory<WebIntentPickerCocoa> weak_ptr_factory_;
};
-#endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA2_H_
+#endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698