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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_dialog.h

Issue 14837004: Files.app: Fixed the problem that dialog opened by Ctrl+O cannot be expand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 24 matching lines...) Expand all
35 // |base_window| is the window to which the pop-up will be attached. 35 // |base_window| is the window to which the pop-up will be attached.
36 // |profile| is the profile that the extension is registered with. 36 // |profile| is the profile that the extension is registered with.
37 // |web_contents| is the tab that spawned the dialog. 37 // |web_contents| is the tab that spawned the dialog.
38 // |width| and |height| are the size of the dialog in pixels. 38 // |width| and |height| are the size of the dialog in pixels.
39 static ExtensionDialog* Show(const GURL& url, 39 static ExtensionDialog* Show(const GURL& url,
40 BaseWindow* base_window, 40 BaseWindow* base_window,
41 Profile* profile, 41 Profile* profile,
42 content::WebContents* web_contents, 42 content::WebContents* web_contents,
43 int width, 43 int width,
44 int height, 44 int height,
45 int minWidth,
sky 2013/05/08 16:14:42 min_width, min_height
hirono 2013/05/09 02:23:16 Done.
46 int minHeight,
45 const string16& title, 47 const string16& title,
46 ExtensionDialogObserver* observer); 48 ExtensionDialogObserver* observer);
47 49
48 #if defined(USE_AURA) 50 #if defined(USE_AURA)
49 // Create and show a fullscreen dialog with |url|. 51 // Create and show a fullscreen dialog with |url|.
50 // |profile| is the profile that the extension is registered with. 52 // |profile| is the profile that the extension is registered with.
51 // |web_contents| is the tab that spawned the dialog. 53 // |web_contents| is the tab that spawned the dialog.
52 static ExtensionDialog* ShowFullscreen(const GURL& url, 54 static ExtensionDialog* ShowFullscreen(const GURL& url,
53 Profile* profile, 55 Profile* profile,
54 const string16& title, 56 const string16& title,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 135
134 content::NotificationRegistrar registrar_; 136 content::NotificationRegistrar registrar_;
135 137
136 // The observer of this popup. 138 // The observer of this popup.
137 ExtensionDialogObserver* observer_; 139 ExtensionDialogObserver* observer_;
138 140
139 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog); 141 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog);
140 }; 142 };
141 143
142 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 144 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698