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

Unified Diff: chrome/browser/chromeos/frame/bubble_window_views.cc

Issue 8538015: Further removal of unused code in old bubbles. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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/chromeos/frame/bubble_window_views.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/frame/bubble_window_views.cc
diff --git a/chrome/browser/chromeos/frame/bubble_window_views.cc b/chrome/browser/chromeos/frame/bubble_window_views.cc
deleted file mode 100644
index f7883b82e9433f270eb908f99eca173c416fe9f6..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/frame/bubble_window_views.cc
+++ /dev/null
@@ -1,37 +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/chromeos/frame/bubble_window_views.h"
-
-#if defined(TOOLKIT_USES_GTK)
-#include <gtk/gtk.h>
-#endif
-
-#include "chrome/browser/chromeos/frame/bubble_frame_view.h"
-#include "ui/gfx/skia_utils_gtk.h"
-#include "views/widget/widget_delegate.h"
-#include "views/window/non_client_view.h"
-
-
-namespace chromeos {
-
-BubbleWindowViews::BubbleWindowViews(BubbleWindowStyle style)
- : style_(style) {
-}
-
-void BubbleWindowViews::SetBackgroundColor() {
-#if defined(TOOLKIT_USES_GTK)
- // TODO(saintlou): Once Views are truly pure the code below needs to be
- // removed and replaced by the corresponding Views code.
- GdkColor background_color =
- gfx::SkColorToGdkColor(kBubbleWindowBackgroundColor);
- gtk_widget_modify_bg(GetNativeView(), GTK_STATE_NORMAL, &background_color);
-#endif
-}
-
-views::NonClientFrameView* BubbleWindowViews::CreateNonClientFrameView() {
- return new BubbleFrameView(this, widget_delegate(), style_);
-}
-
-} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_window_views.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698