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

Unified Diff: chrome/browser/ui/intents/web_intent_picker.h

Issue 10827341: Factoring out common constants (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cocoa namespacing. Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/gtk/web_intent_picker_gtk.cc ('k') | chrome/browser/ui/views/web_intent_picker_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/intents/web_intent_picker.h
diff --git a/chrome/browser/ui/intents/web_intent_picker.h b/chrome/browser/ui/intents/web_intent_picker.h
index cc088e5cf8522a6bd57a0e652783d6fb3438c15a..61978a15edff60f0e028d491817c2e18a5e55d8b 100644
--- a/chrome/browser/ui/intents/web_intent_picker.h
+++ b/chrome/browser/ui/intents/web_intent_picker.h
@@ -23,6 +23,16 @@ class WebContents;
// Base class for the web intent picker dialog.
class WebIntentPicker {
public:
+ // The width of the window, in view coordinates. The height will be
+ // determined by the content.
+ static const int kWindowWidth = 400;
+
+ // The maximum width in view units of a suggested extension's title link.
+ static const int kTitleLinkMaxWidth = 130;
+
+ // The space in pixels between the top-level groups and the dialog border.
+ static const int kContentAreaBorder = 10;
+
// Platform specific factory function. This function will automatically show
// the picker.
static WebIntentPicker* Create(TabContents* tab_contents,
« no previous file with comments | « chrome/browser/ui/gtk/web_intent_picker_gtk.cc ('k') | chrome/browser/ui/views/web_intent_picker_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698