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

Unified Diff: ui/views/window/native_frame_view.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/views/window/frame_buttons.h ('k') | ui/views/window/native_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/native_frame_view.h
diff --git a/ui/views/window/native_frame_view.h b/ui/views/window/native_frame_view.h
deleted file mode 100644
index 3f4d09a1ea99917175ea5dfdbef913e2bf8774cf..0000000000000000000000000000000000000000
--- a/ui/views/window/native_frame_view.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_
-#define UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_
-
-#include "ui/views/window/non_client_view.h"
-
-namespace views {
-
-class Widget;
-
-class VIEWS_EXPORT NativeFrameView : public NonClientFrameView {
- public:
- static const char kViewClassName[];
-
- explicit NativeFrameView(Widget* frame);
- virtual ~NativeFrameView();
-
- // NonClientFrameView overrides:
- virtual gfx::Rect GetBoundsForClientView() const override;
- virtual gfx::Rect GetWindowBoundsForClientBounds(
- const gfx::Rect& client_bounds) const override;
- virtual int NonClientHitTest(const gfx::Point& point) override;
- virtual void GetWindowMask(const gfx::Size& size,
- gfx::Path* window_mask) override;
- virtual void ResetWindowControls() override;
- virtual void UpdateWindowIcon() override;
- virtual void UpdateWindowTitle() override;
- virtual void SizeConstraintsChanged() override;
-
- // View overrides:
- virtual gfx::Size GetPreferredSize() const override;
- virtual gfx::Size GetMinimumSize() const override;
- virtual gfx::Size GetMaximumSize() const override;
- virtual const char* GetClassName() const override;
-
- private:
- // Our containing frame.
- Widget* frame_;
-
- DISALLOW_COPY_AND_ASSIGN(NativeFrameView);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_
« no previous file with comments | « ui/views/window/frame_buttons.h ('k') | ui/views/window/native_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698