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

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

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | 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_frame_views.h"
14 #include "chrome/browser/ui/views/frame/browser_view.h" 13 #include "chrome/browser/ui/views/frame/browser_view.h"
15 #include "content/browser/accessibility/browser_accessibility_state.h" 14 #include "content/browser/accessibility/browser_accessibility_state.h"
16 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
17 #include "ui/base/theme_provider.h" 16 #include "ui/base/theme_provider.h"
18 #include "ui/gfx/font.h" 17 #include "ui/gfx/font.h"
19 #include "ui/views/window/non_client_view.h" 18 #include "ui/views/window/non_client_view.h"
20 #include "views/views_delegate.h" 19 #include "views/views_delegate.h"
21 #include "views/widget/native_widget_win.h" 20 #include "views/widget/native_widget_win.h"
22 #include "views/widget/widget.h" 21 #include "views/widget/widget.h"
23 22
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 return *title_font; 210 return *title_font;
212 } 211 }
213 212
214 //////////////////////////////////////////////////////////////////////////////// 213 ////////////////////////////////////////////////////////////////////////////////
215 // NativeBrowserFrame, public: 214 // NativeBrowserFrame, public:
216 215
217 // static 216 // static
218 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame( 217 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame(
219 BrowserFrame* browser_frame, 218 BrowserFrame* browser_frame,
220 BrowserView* browser_view) { 219 BrowserView* browser_view) {
221 if (views::Widget::IsPureViews() &&
222 views::ViewsDelegate::views_delegate->GetDefaultParentView())
223 return new BrowserFrameViews(browser_frame, browser_view);
224 return new BrowserFrameWin(browser_frame, browser_view); 220 return new BrowserFrameWin(browser_frame, browser_view);
225 } 221 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_views.cc ('k') | chrome/browser/ui/views/menu_model_adapter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698