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

Side by Side Diff: chrome/browser/ui/browser_mac.cc

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 years, 3 months 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 | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/browser_navigator.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser_mac.h" 5 #include "chrome/browser/ui/browser_mac.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/host_desktop.h" 10 #include "ui/gfx/host_desktop_type.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 13
14 void OpenAboutWindow(Profile* profile) { 14 void OpenAboutWindow(Profile* profile) {
15 Browser* browser = 15 Browser* browser =
16 new Browser(Browser::CreateParams(profile, ui::HOST_DESKTOP_TYPE_NATIVE)); 16 new Browser(Browser::CreateParams(profile, ui::HOST_DESKTOP_TYPE_NATIVE));
17 ShowAboutChrome(browser); 17 ShowAboutChrome(browser);
18 browser->window()->Show(); 18 browser->window()->Show();
19 } 19 }
20 20
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 76
77 void OpenExtensionsWindow(Profile* profile) { 77 void OpenExtensionsWindow(Profile* profile) {
78 Browser* browser = 78 Browser* browser =
79 new Browser(Browser::CreateParams(profile, ui::HOST_DESKTOP_TYPE_NATIVE)); 79 new Browser(Browser::CreateParams(profile, ui::HOST_DESKTOP_TYPE_NATIVE));
80 ShowExtensions(browser, std::string()); 80 ShowExtensions(browser, std::string());
81 browser->window()->Show(); 81 browser->window()->Show();
82 } 82 }
83 83
84 } // namespace chrome 84 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/browser_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698