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

Side by Side Diff: chrome/browser/ui/views/constrained_window_views.h

Issue 10826085: Fixing problems with constrained windows (i.e. print preview) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed namespace request Created 8 years, 4 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 unified diff | Download patch
« no previous file with comments | « ash/wm/frame_painter.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/constrained_window.h" 9 #include "chrome/browser/ui/constrained_window.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 private: 73 private:
74 // Overridden from views::Widget: 74 // Overridden from views::Widget:
75 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 75 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
76 76
77 // Overridden from NativeConstrainedWindowDelegate: 77 // Overridden from NativeConstrainedWindowDelegate:
78 virtual void OnNativeConstrainedWindowDestroyed() OVERRIDE; 78 virtual void OnNativeConstrainedWindowDestroyed() OVERRIDE;
79 virtual void OnNativeConstrainedWindowMouseActivate() OVERRIDE; 79 virtual void OnNativeConstrainedWindowMouseActivate() OVERRIDE;
80 virtual views::internal::NativeWidgetDelegate* 80 virtual views::internal::NativeWidgetDelegate*
81 AsNativeWidgetDelegate() OVERRIDE; 81 AsNativeWidgetDelegate() OVERRIDE;
82 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE;
82 83
83 TabContents* tab_contents_; 84 TabContents* tab_contents_;
84 85
85 NativeConstrainedWindow* native_constrained_window_; 86 NativeConstrainedWindow* native_constrained_window_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowViews); 88 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowViews);
88 }; 89 };
89 90
90 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ 91 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « ash/wm/frame_painter.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698