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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_win.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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/ui/views/frame/browser_frame_win.h" 5 #include "chrome/browser/ui/views/frame/browser_frame_win.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 9
10 #include <set> 10 #include <set>
11 11
12 #include "chrome/browser/ui/browser_list.h" 12 #include "chrome/browser/ui/browser_list.h"
13 #include "chrome/browser/ui/views/frame/browser_view.h" 13 #include "chrome/browser/ui/views/frame/browser_view.h"
14 #include "content/browser/accessibility/browser_accessibility_state.h" 14 #include "content/browser/accessibility/browser_accessibility_state.h"
15 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
16 #include "ui/base/theme_provider.h" 16 #include "ui/base/theme_provider.h"
17 #include "ui/gfx/font.h" 17 #include "ui/gfx/font.h"
18 #include "ui/views/views_delegate.h"
18 #include "ui/views/widget/native_widget_win.h" 19 #include "ui/views/widget/native_widget_win.h"
19 #include "ui/views/widget/widget.h" 20 #include "ui/views/widget/widget.h"
20 #include "ui/views/window/non_client_view.h" 21 #include "ui/views/window/non_client_view.h"
21 #include "views/views_delegate.h"
22 22
23 #pragma comment(lib, "dwmapi.lib") 23 #pragma comment(lib, "dwmapi.lib")
24 24
25 // static 25 // static
26 static const int kClientEdgeThickness = 3; 26 static const int kClientEdgeThickness = 3;
27 static const int kTabDragWindowAlpha = 200; 27 static const int kTabDragWindowAlpha = 200;
28 // We need to offset the DWMFrame into the toolbar so that the blackness 28 // We need to offset the DWMFrame into the toolbar so that the blackness
29 // doesn't show up on our rounded corners. 29 // doesn't show up on our rounded corners.
30 static const int kDWMFrameTopOffset = 3; 30 static const int kDWMFrameTopOffset = 3;
31 // If not -1, windows are shown with this state. 31 // If not -1, windows are shown with this state.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 //////////////////////////////////////////////////////////////////////////////// 213 ////////////////////////////////////////////////////////////////////////////////
214 // NativeBrowserFrame, public: 214 // NativeBrowserFrame, public:
215 215
216 // static 216 // static
217 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame( 217 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame(
218 BrowserFrame* browser_frame, 218 BrowserFrame* browser_frame,
219 BrowserView* browser_view) { 219 BrowserView* browser_view) {
220 return new BrowserFrameWin(browser_frame, browser_view); 220 return new BrowserFrameWin(browser_frame, browser_view);
221 } 221 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_gtk.cc ('k') | chrome/browser/ui/views/infobars/infobar_background.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698