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

Unified Diff: athena/main/athena_frame_view.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « athena/main/athena_content_client.cc ('k') | athena/main/athena_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/athena_frame_view.h
diff --git a/athena/main/athena_frame_view.h b/athena/main/athena_frame_view.h
deleted file mode 100644
index b3829a86852d61229dac43b7597a251941cfceb9..0000000000000000000000000000000000000000
--- a/athena/main/athena_frame_view.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2014 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 ATHENA_MAIN_ATHENA_FRAME_VIEW_H_
-#define ATHENA_MAIN_ATHENA_FRAME_VIEW_H_
-
-#include "ui/views/window/non_client_view.h"
-
-namespace views {
-class Widget;
-}
-
-namespace athena {
-
-// A NonClientFrameView used for non activity window.
-// TODO(oshima): Move this to athena/util and share the code.
-class AthenaFrameView : public views::NonClientFrameView {
- public:
- // The frame class name.
- static const char kViewClassName[];
-
- explicit AthenaFrameView(views::Widget* frame);
- ~AthenaFrameView() override;
-
- // views::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 {}
-
- // views::View overrides:
- virtual gfx::Size GetPreferredSize() const override;
- virtual const char* GetClassName() const override;
- virtual void Layout() override {}
-
- private:
- gfx::Insets NonClientBorderInsets() const;
-
- virtual int NonClientTopBorderHeight() const;
- virtual int NonClientBorderThickness() const;
-
- // Not owned.
- views::Widget* frame_;
-
- DISALLOW_COPY_AND_ASSIGN(AthenaFrameView);
-};
-
-} // namespace athena
-
-#endif // ATHENA_MAIN_ATHENA_FRAME_VIEW_H_
« no previous file with comments | « athena/main/athena_content_client.cc ('k') | athena/main/athena_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698