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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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
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/gtk/browser_window_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 else 1217 else
1218 gtk_window_activate_key(window_, os_event); 1218 gtk_window_activate_key(window_, os_event);
1219 } 1219 }
1220 1220
1221 void BrowserWindowGtk::ShowCreateWebAppShortcutsDialog( 1221 void BrowserWindowGtk::ShowCreateWebAppShortcutsDialog(
1222 TabContentsWrapper* tab_contents) { 1222 TabContentsWrapper* tab_contents) {
1223 CreateWebApplicationShortcutsDialogGtk::Show(window_, tab_contents); 1223 CreateWebApplicationShortcutsDialogGtk::Show(window_, tab_contents);
1224 } 1224 }
1225 1225
1226 void BrowserWindowGtk::ShowCreateChromeAppShortcutsDialog( 1226 void BrowserWindowGtk::ShowCreateChromeAppShortcutsDialog(
1227 Profile* profile, const Extension* app) { 1227 Profile* profile, const extensions::Extension* app) {
1228 CreateChromeApplicationShortcutsDialogGtk::Show(window_, profile, app); 1228 CreateChromeApplicationShortcutsDialogGtk::Show(window_, profile, app);
1229 } 1229 }
1230 1230
1231 void BrowserWindowGtk::Cut() { 1231 void BrowserWindowGtk::Cut() {
1232 gtk_util::DoCut(this); 1232 gtk_util::DoCut(this);
1233 } 1233 }
1234 1234
1235 void BrowserWindowGtk::Copy() { 1235 void BrowserWindowGtk::Copy() {
1236 gtk_util::DoCopy(this); 1236 gtk_util::DoCopy(this);
1237 } 1237 }
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
2586 wm_type == ui::WM_OPENBOX || 2586 wm_type == ui::WM_OPENBOX ||
2587 wm_type == ui::WM_XFWM4); 2587 wm_type == ui::WM_XFWM4);
2588 } 2588 }
2589 2589
2590 // static 2590 // static
2591 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { 2591 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
2592 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); 2592 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser);
2593 browser_window_gtk->Init(); 2593 browser_window_gtk->Init();
2594 return browser_window_gtk; 2594 return browser_window_gtk;
2595 } 2595 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698