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

Unified Diff: chrome/browser/ui/views/bubble/border_contents.cc

Issue 8761012: Remove the old views bubble code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 9 years 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/bubble/border_contents.cc
diff --git a/chrome/browser/ui/views/bubble/border_contents.cc b/chrome/browser/ui/views/bubble/border_contents.cc
deleted file mode 100644
index c5d025eb962de09462a80507edbe2c9385f84df4..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/bubble/border_contents.cc
+++ /dev/null
@@ -1,24 +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.
-
-#include "chrome/browser/ui/views/bubble/border_contents.h"
-
-#include "chrome/browser/ui/window_sizer.h"
-
-static const int kTopMargin = 6;
-static const int kLeftMargin = 6;
-static const int kBottomMargin = 9;
-static const int kRightMargin = 6;
-
-BorderContents::BorderContents()
- : BorderContentsView(kTopMargin,
- kLeftMargin,
- kBottomMargin,
- kRightMargin) {}
-
-gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) {
- scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_provider(
- WindowSizer::CreateDefaultMonitorInfoProvider());
- return monitor_provider->GetMonitorWorkAreaMatching(rect);
-}
« no previous file with comments | « chrome/browser/ui/views/bubble/border_contents.h ('k') | chrome/browser/ui/views/bubble/border_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698