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

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

Issue 327083003: Always use the native frame for popups and hosted apps on desktop linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « chrome/browser/ui/views/frame/popup_non_client_frame_view.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/popup_non_client_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/popup_non_client_frame_view.cc b/chrome/browser/ui/views/frame/popup_non_client_frame_view.cc
deleted file mode 100644
index 5243545cd4fc71310c80684e60b3f204abfe27d1..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/popup_non_client_frame_view.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "chrome/browser/ui/views/frame/popup_non_client_frame_view.h"
-
-#include "chrome/browser/ui/views/frame/browser_frame.h"
-#include "ui/base/hit_test.h"
-#include "ui/gfx/point.h"
-#include "ui/gfx/rect.h"
-#include "ui/gfx/size.h"
-
-PopupNonClientFrameView::PopupNonClientFrameView(BrowserFrame* frame)
- : BrowserNonClientFrameView(frame, NULL) {
- frame->set_frame_type(views::Widget::FRAME_TYPE_FORCE_NATIVE);
-}
-
-gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const {
- return gfx::Rect(0, 0, width(), height());
-}
-
-gfx::Rect PopupNonClientFrameView::GetWindowBoundsForClientBounds(
- const gfx::Rect& client_bounds) const {
- return client_bounds;
-}
-
-int PopupNonClientFrameView::NonClientHitTest(const gfx::Point& point) {
- return bounds().Contains(point) ? HTCLIENT : HTNOWHERE;
-}
-
-void PopupNonClientFrameView::GetWindowMask(const gfx::Size& size,
- gfx::Path* window_mask) {
-}
-
-void PopupNonClientFrameView::ResetWindowControls() {
-}
-
-void PopupNonClientFrameView::UpdateWindowIcon() {
-}
-
-void PopupNonClientFrameView::UpdateWindowTitle() {
-}
-
-gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip(
- views::View* tabstrip) const {
- return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
-}
-
-int PopupNonClientFrameView::GetTopInset() const {
- return 0;
-}
-
-int PopupNonClientFrameView::GetThemeBackgroundXInset() const {
- return 0;
-}
-
-void PopupNonClientFrameView::UpdateThrobber(bool running) {
-}
« no previous file with comments | « chrome/browser/ui/views/frame/popup_non_client_frame_view.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698