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

Unified Diff: chrome/views/custom_frame_window.cc

Issue 27286: All views::Window objects must have a NonClientView, regardless of whether or... (Closed) Base URL: svn://chrome-svn.corp.google.com/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
« no previous file with comments | « chrome/views/custom_frame_window.h ('k') | chrome/views/non_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/custom_frame_window.cc
===================================================================
--- chrome/views/custom_frame_window.cc (revision 10621)
+++ chrome/views/custom_frame_window.cc (working copy)
@@ -96,15 +96,6 @@
ResetWindowRegion();
}
-void CustomFrameWindow::SetClientView(ClientView* cv) {
- DCHECK(cv && !client_view() && GetHWND());
- set_client_view(cv);
- // For a CustomFrameWindow, the non-client view is the root.
- WidgetWin::SetContentsView(non_client_view_);
- // When the non client view is added to the view hierarchy, it will cause the
- // client view to be added as well.
-}
-
gfx::Size CustomFrameWindow::CalculateWindowSizeForClientSize(
const gfx::Size& client_size) const {
return non_client_view_->CalculateWindowSizeForClientSize(
« no previous file with comments | « chrome/views/custom_frame_window.h ('k') | chrome/views/non_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698