summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:24:31 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:24:31 +0000
commit2d46c8462c1c9104c100ee1f3414db754b897a8f (patch)
treed97575e12d73eaee70516a069bebcde26804a28c /chrome/browser/browser.h
parent5190d28cbce355d98236bd06beee5099f4da3790 (diff)
downloadchromium_src-2d46c8462c1c9104c100ee1f3414db754b897a8f.zip
chromium_src-2d46c8462c1c9104c100ee1f3414db754b897a8f.tar.gz
chromium_src-2d46c8462c1c9104c100ee1f3414db754b897a8f.tar.bz2
Rid most of the Browser object of HWND dependencies.
Review URL: http://codereview.chromium.org/10929 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 278c39d..353ab4b 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -95,11 +95,6 @@ class Browser : public TabStripModelDelegate,
bool SupportsCommand(int id) const;
bool IsCommandEnabled(int id) const;
- // DEPRECATED DEPRECATED DEPRECATED /////////////////////////////////////////
-
- // Returns the HWND of the top-level system window for this Browser.
- HWND GetTopLevelHWND() const;
-
// State Storage and Retrieval for UI ///////////////////////////////////////
// Save and restore the window position.
@@ -296,7 +291,7 @@ class Browser : public TabStripModelDelegate,
// Overridden from TabStripModelDelegate:
virtual GURL GetBlankTabURL() const;
virtual void CreateNewStripWithContents(TabContents* detached_contents,
- const gfx::Point& drop_point);
+ const gfx::Rect& window_bounds);
virtual int GetDragActions() const;
// Construct a TabContents for a given URL, profile and transition type.
// If instance is not null, its process will be used to render the tab.
@@ -360,7 +355,7 @@ class Browser : public TabStripModelDelegate,
bool proceed,
bool* proceed_to_fire_unload);
virtual void ShowHtmlDialog(HtmlDialogContentsDelegate* delegate,
- HWND parent_hwnd);
+ void* parent_window);
// Overridden from SelectFileDialog::Listener:
virtual void FileSelected(const std::wstring& path, void* params);