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

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

Issue 6975037: Revert 85666 - 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 85701)
+++ chrome/browser/ui/views/frame/popup_non_client_frame_view.h (working copy)
@@ -13,10 +13,12 @@
// nothing.
class PopupNonClientFrameView : public BrowserNonClientFrameView {
public:
- explicit PopupNonClientFrameView(BrowserFrame* frame);
+ PopupNonClientFrameView() {}
// 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