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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 22903022: Limit constrained windows to the size of the parent view. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No initializer Created 7 years, 3 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_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void Close(); 201 void Close();
202 202
203 #if !defined(OS_ANDROID) 203 #if !defined(OS_ANDROID)
204 // ChromeWebModalDialogManagerDelegate 204 // ChromeWebModalDialogManagerDelegate
205 virtual web_modal::WebContentsModalDialogHost* 205 virtual web_modal::WebContentsModalDialogHost*
206 GetWebContentsModalDialogHost() OVERRIDE; 206 GetWebContentsModalDialogHost() OVERRIDE;
207 207
208 // web_modal::WebContentsModalDialogHost 208 // web_modal::WebContentsModalDialogHost
209 virtual gfx::NativeView GetHostView() const OVERRIDE; 209 virtual gfx::NativeView GetHostView() const OVERRIDE;
210 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 210 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
211 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
211 virtual void AddObserver( 212 virtual void AddObserver(
212 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; 213 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE;
213 virtual void RemoveObserver( 214 virtual void RemoveObserver(
214 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; 215 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE;
215 #endif 216 #endif
216 217
217 // ExtensionFunctionDispatcher::Delegate 218 // ExtensionFunctionDispatcher::Delegate
218 virtual WindowController* GetExtensionWindowController() const OVERRIDE; 219 virtual WindowController* GetExtensionWindowController() const OVERRIDE;
219 220
220 // Message handlers. 221 // Message handlers.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 286
286 // Used to measure how long it's been since the host was created. 287 // Used to measure how long it's been since the host was created.
287 PerfTimer since_created_; 288 PerfTimer since_created_;
288 289
289 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 290 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
290 }; 291 };
291 292
292 } // namespace extensions 293 } // namespace extensions
293 294
294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 295 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698