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

Side by Side Diff: chrome/browser/chromeos/frame/bubble_window.cc

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/wm_ipc.h" 10 #include "chrome/browser/chromeos/wm_ipc.h"
11 #include "cros/chromeos_wm_ipc_enums.h"
12 #include "gfx/skia_utils_gtk.h" 11 #include "gfx/skia_utils_gtk.h"
12 #include "third_party/cros/chromeos_wm_ipc_enums.h"
13 #include "views/window/non_client_view.h" 13 #include "views/window/non_client_view.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 // static 17 // static
18 const SkColor BubbleWindow::kBackgroundColor = SK_ColorWHITE; 18 const SkColor BubbleWindow::kBackgroundColor = SK_ColorWHITE;
19 19
20 BubbleWindow::BubbleWindow(views::WindowDelegate* window_delegate) 20 BubbleWindow::BubbleWindow(views::WindowDelegate* window_delegate)
21 : views::WindowGtk(window_delegate) { 21 : views::WindowGtk(window_delegate) {
22 MakeTransparent(); 22 MakeTransparent();
(...skipping 26 matching lines...) Expand all
49 Style style, 49 Style style,
50 views::WindowDelegate* window_delegate) { 50 views::WindowDelegate* window_delegate) {
51 BubbleWindow* window = new BubbleWindow(window_delegate); 51 BubbleWindow* window = new BubbleWindow(window_delegate);
52 window->GetNonClientView()->SetFrameView(new BubbleFrameView(window, style)); 52 window->GetNonClientView()->SetFrameView(new BubbleFrameView(window, style));
53 window->Init(parent, bounds); 53 window->Init(parent, bounds);
54 54
55 return window; 55 return window;
56 } 56 }
57 57
58 } // namespace chromeos 58 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/browser_view.cc ('k') | chrome/browser/chromeos/frame/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698