diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
commit | 5ea7794d237835197543c63aafe299a77a766fe2 (patch) | |
tree | c7241dc29447f8278f5bab3e87f196add0756b07 /chrome/browser/search_engines | |
parent | 272fe599bb86943b64b3b83d99e5bfd6b2531c28 (diff) | |
download | chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.zip chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.gz chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.bz2 |
Random bits of de-Winification for WebContents.
Review URL: http://codereview.chromium.org/19721
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines')
-rw-r--r-- | chrome/browser/search_engines/template_url_fetcher.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/search_engines/template_url_fetcher.h b/chrome/browser/search_engines/template_url_fetcher.h index 76917ca..7b429a7 100644 --- a/chrome/browser/search_engines/template_url_fetcher.h +++ b/chrome/browser/search_engines/template_url_fetcher.h @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_BROWSER_TEMPLATE_URL_FETCHER_H__ -#define CHROME_BROWSER_TEMPLATE_URL_FETCHER_H__ +#ifndef CHROME_BROWSER_TEMPLATE_URL_FETCHER_H_ +#define CHROME_BROWSER_TEMPLATE_URL_FETCHER_H_ +#include "base/gfx/native_widget_types.h" #include "chrome/browser/net/url_fetcher.h" #include "chrome/browser/profile.h" #include "chrome/common/scoped_vector.h" @@ -29,7 +30,7 @@ class TemplateURLFetcher { void ScheduleDownload(const std::wstring& keyword, const GURL& osdd_url, const GURL& favicon_url, - const HWND parent_window, + const gfx::NativeView parent_window, bool autodetected); private: @@ -43,7 +44,7 @@ class TemplateURLFetcher { const std::wstring& keyword, const GURL& osdd_url, const GURL& favicon_url, - const HWND parent_window, + gfx::NativeView parent_window, bool autodetected) #pragma warning(disable:4355) : url_fetcher_(osdd_url, URLFetcher::GET, this), @@ -82,9 +83,9 @@ class TemplateURLFetcher { // Used to determine where to place a confirmation dialog. May be NULL, // in which case the confirmation will be centered in the screen if needed. - const HWND parent_window_; + gfx::NativeView parent_window_; - DISALLOW_EVIL_CONSTRUCTORS(RequestDelegate); + DISALLOW_COPY_AND_ASSIGN(RequestDelegate); }; Profile* profile() const { return profile_; } @@ -97,8 +98,7 @@ class TemplateURLFetcher { // In progress requests. ScopedVector<RequestDelegate> requests_; - DISALLOW_EVIL_CONSTRUCTORS(TemplateURLFetcher); + DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcher); }; -#endif // CHROME_BROWSER_OSDD_FETCHER_H__ - +#endif // CHROME_BROWSER_OSDD_FETCHER_H_ |