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

Unified Diff: chrome/browser/views/constrained_window_impl.h

Issue 27317: Support DWM switching.... (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/browser/views/browser_views.vcproj ('k') | chrome/browser/views/constrained_window_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/constrained_window_impl.h
===================================================================
--- chrome/browser/views/constrained_window_impl.h (revision 10688)
+++ chrome/browser/views/constrained_window_impl.h (working copy)
@@ -8,11 +8,11 @@
#include "base/gfx/rect.h"
#include "chrome/browser/tab_contents/constrained_window.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
-#include "chrome/views/custom_frame_window.h"
+#include "chrome/views/window.h"
class ConstrainedTabContentsWindowDelegate;
class ConstrainedWindowAnimation;
-class ConstrainedWindowNonClientView;
+class ConstrainedWindowFrameView;
namespace views {
class HWNDView;
class WindowDelegate;
@@ -25,20 +25,15 @@
// a child HWND with a custom window frame.
//
class ConstrainedWindowImpl : public ConstrainedWindow,
- public views::CustomFrameWindow {
+ public views::Window {
public:
virtual ~ConstrainedWindowImpl();
// Returns the TabContents that constrains this Constrained Window.
TabContents* owner() const { return owner_; }
- // Returns the non-client view inside this Constrained Window.
- // NOTE: Defining the function body here would require pulling in the
- // declarations of ConstrainedWindowNonClientView, as well as all the classes
- // it depends on, from the .cc file; the benefit isn't worth it.
- ConstrainedWindowNonClientView* non_client_view();
-
- // Overridden from views::CustomFrameWindow:
+ // Overridden from views::Window:
+ virtual views::NonClientFrameView* CreateFrameViewForWindow();
virtual void UpdateWindowTitle();
// Overridden from ConstrainedWindow:
@@ -64,7 +59,7 @@
// ConstrainedWindow.
ConstrainedWindowImpl(TabContents* owner,
views::WindowDelegate* window_delegate);
- void Init(TabContents* owner);
+ void Init();
// Initialize the Constrained Window as a Constrained Dialog containing a
// views::View client area.
« no previous file with comments | « chrome/browser/views/browser_views.vcproj ('k') | chrome/browser/views/constrained_window_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698