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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 58853004: [win8] Force browsers created with Chrome in Metro mode to be on the Ash desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move from browser_commands to BrowserWindow Created 7 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/gtk/browser_window_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
(...skipping 2400 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 wm_type == ui::WM_OPENBOX || 2411 wm_type == ui::WM_OPENBOX ||
2412 wm_type == ui::WM_XFWM4); 2412 wm_type == ui::WM_XFWM4);
2413 } 2413 }
2414 2414
2415 // static 2415 // static
2416 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { 2416 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
2417 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); 2417 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser);
2418 browser_window_gtk->Init(); 2418 browser_window_gtk->Init();
2419 return browser_window_gtk; 2419 return browser_window_gtk;
2420 } 2420 }
2421
2422 // static
2423 chrome::HostDesktopType BrowserWindow::AdjustHostDesktopType(
2424 chrome::HostDesktopType desktop_type) {
2425 return desktop_type;
2426 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_factory.mm ('k') | chrome/browser/ui/views/frame/browser_frame_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698