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

Side by Side Diff: chrome/browser/ui/gtk/gtk_util.h

Issue 10831226: Panels refactor: Support browserless panels on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove static initializer Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_util.cc » ('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 #ifndef CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_GTK_UTIL_H_
6 #define CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ 6 #define CHROME_BROWSER_UI_GTK_GTK_UTIL_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // PANGO_ELLIPSIZE_END. 301 // PANGO_ELLIPSIZE_END.
302 // It must be done when the label is mapped (become visible on the screen), 302 // It must be done when the label is mapped (become visible on the screen),
303 // to make sure the pango can get correct font information for the calculation. 303 // to make sure the pango can get correct font information for the calculation.
304 void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label); 304 void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label);
305 305
306 // A helper function for gtk_message_dialog_new() to work around a few KDE 3 306 // A helper function for gtk_message_dialog_new() to work around a few KDE 3
307 // window manager bugs. You should always call it after creating a dialog with 307 // window manager bugs. You should always call it after creating a dialog with
308 // gtk_message_dialog_new. 308 // gtk_message_dialog_new.
309 void ApplyMessageDialogQuirks(GtkWidget* dialog); 309 void ApplyMessageDialogQuirks(GtkWidget* dialog);
310 310
311 // Performs Cut/Copy/Paste operation on the |window|.
312 void DoCut(BrowserWindow* window);
313 void DoCopy(BrowserWindow* window);
314 void DoPaste(BrowserWindow* window);
315
316 } // namespace gtk_util 311 } // namespace gtk_util
317 312
318 #endif // CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ 313 #endif // CHROME_BROWSER_UI_GTK_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698