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

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

Issue 11230023: Web Intents Mac: Add view animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comment Created 8 years, 2 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/cocoa/intents/web_intent_picker_cocoa2.h
diff --git a/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h b/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h
index ea25978f0c1bc9310239326890ecaca769dbb9fd..b2228dc1b5a107ab2b7e859a830fd5951a6e41ca 100644
--- a/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h
+++ b/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h
@@ -73,11 +73,16 @@ class WebIntentPickerCocoa2 : public WebIntentPicker,
ConstrainedWindowMac2* window) OVERRIDE;
private:
+ void ScheduleUpdate();
+ void PerformUpdate();
+
content::WebContents* const web_contents_;
WebIntentPickerDelegate* delegate_;
WebIntentPickerModel* model_;
scoped_nsobject<WebIntentPickerViewController> view_controller_;
scoped_ptr<ConstrainedWindowMac2> constrained_window_;
+ bool update_pending_;
+ base::WeakPtrFactory<WebIntentPickerCocoa2> weak_ptr_factory_;
};
#endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PICKER_COCOA2_H_

Powered by Google App Engine
This is Rietveld 408576698