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

Unified Diff: chrome/browser/views/html_dialog_view.cc

Issue 27150: Make chrome_plugin_host.cc and chrome_plugin_util.cc compile on Posix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
Index: chrome/browser/views/html_dialog_view.cc
===================================================================
--- chrome/browser/views/html_dialog_view.cc (revision 10402)
+++ chrome/browser/views/html_dialog_view.cc (working copy)
@@ -29,9 +29,9 @@
// HtmlDialogView, views::View implementation:
gfx::Size HtmlDialogView::GetPreferredSize() {
- CSize out;
+ gfx::Size out;
delegate_->GetDialogSize(&out);
- return gfx::Size(out.cx, out.cy);
+ return out;
}
////////////////////////////////////////////////////////////////////////////////
@@ -80,8 +80,8 @@
return delegate_->GetDialogContentURL();
}
-void HtmlDialogView::GetDialogSize(CSize* size) const {
- return delegate_->GetDialogSize(size);
+void HtmlDialogView::GetDialogSize(gfx::Size* size) const {
+ delegate_->GetDialogSize(size);
}
std::string HtmlDialogView::GetDialogArgs() const {

Powered by Google App Engine
This is Rietveld 408576698