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

Unified Diff: chrome/browser/ui/views/frame/popup_non_client_frame_view.h

Issue 7036014: Consolidate ShouldUseNativeFrame/AlwaysUseNativeFrame/UseNativeFrame spaghetti. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/ui/views/frame/popup_non_client_frame_view.h
===================================================================
--- chrome/browser/ui/views/frame/popup_non_client_frame_view.h (revision 85647)
+++ chrome/browser/ui/views/frame/popup_non_client_frame_view.h (working copy)
@@ -13,12 +13,10 @@
// nothing.
class PopupNonClientFrameView : public BrowserNonClientFrameView {
public:
- PopupNonClientFrameView() {}
+ explicit PopupNonClientFrameView(BrowserFrame* frame);
// NonClientFrameView:
virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
- virtual bool AlwaysUseCustomFrame() const OVERRIDE;
- virtual bool AlwaysUseNativeFrame() const OVERRIDE;
virtual gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const OVERRIDE;
virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698