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

Unified Diff: chrome/browser/search_engines/template_url_fetcher.h

Issue 19721: Random bits of de-Winification for WebContents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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/printing/print_job.h ('k') | chrome/browser/shell_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_fetcher.h
===================================================================
--- chrome/browser/search_engines/template_url_fetcher.h (revision 8984)
+++ chrome/browser/search_engines/template_url_fetcher.h (working copy)
@@ -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 @@
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 @@
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 @@
// 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 @@
// 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_
« no previous file with comments | « chrome/browser/printing/print_job.h ('k') | chrome/browser/shell_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698