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

Side by Side Diff: chrome/browser/chromeos/frame/bubble_window_gtk.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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/bubble_window_views.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/frame/bubble_window.h" 5 #include "chrome/browser/chromeos/frame/bubble_window.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "chrome/browser/chromeos/frame/bubble_frame_view.h" 9 #include "chrome/browser/chromeos/frame/bubble_frame_view.h"
10 #include "chrome/browser/chromeos/frame/bubble_window_views.h"
11 #include "ui/gfx/skia_utils_gtk.h" 10 #include "ui/gfx/skia_utils_gtk.h"
12 #include "views/window/non_client_view.h" 11 #include "views/window/non_client_view.h"
13 12
14 namespace chromeos { 13 namespace chromeos {
15 14
16 BubbleWindow::BubbleWindow(views::Widget* window, 15 BubbleWindow::BubbleWindow(views::Widget* window,
17 BubbleWindowStyle style) 16 BubbleWindowStyle style)
18 : views::NativeWidgetGtk(window), 17 : views::NativeWidgetGtk(window),
19 style_(style) { 18 style_(style) {
20 } 19 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 params.delegate = widget_delegate; 55 params.delegate = widget_delegate;
57 params.native_widget = bubble_window; 56 params.native_widget = bubble_window;
58 params.parent = GTK_WIDGET(parent); 57 params.parent = GTK_WIDGET(parent);
59 params.bounds = gfx::Rect(); 58 params.bounds = gfx::Rect();
60 window->Init(params); 59 window->Init(params);
61 60
62 return window; 61 return window;
63 } 62 }
64 63
65 } // namespace chromeos 64 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/bubble_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698