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

Side by Side Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.h

Issue 2031223003: Support underline on Linux again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the gtk2_ui as well. Created 4 years, 6 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 | « no previous file | chrome/browser/ui/libgtk2ui/gtk2_ui.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_LIBGTK2UI_GTK2_UI_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // ui::LinuxInputMethodContextFactory: 56 // ui::LinuxInputMethodContextFactory:
57 std::unique_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext( 57 std::unique_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext(
58 ui::LinuxInputMethodContextDelegate* delegate, 58 ui::LinuxInputMethodContextDelegate* delegate,
59 bool is_simple) const override; 59 bool is_simple) const override;
60 60
61 // gfx::LinuxFontDelegate: 61 // gfx::LinuxFontDelegate:
62 gfx::FontRenderParams GetDefaultFontRenderParams() const override; 62 gfx::FontRenderParams GetDefaultFontRenderParams() const override;
63 void GetDefaultFontDescription( 63 void GetDefaultFontDescription(
64 std::string* family_out, 64 std::string* family_out,
65 int* size_pixels_out, 65 int* size_pixels_out,
66 bool* italic_out, 66 int* style_out,
67 gfx::Font::Weight* weight_out, 67 gfx::Font::Weight* weight_out,
68 gfx::FontRenderParams* params_out) const override; 68 gfx::FontRenderParams* params_out) const override;
69 69
70 // ui::ShellDialogLinux: 70 // ui::ShellDialogLinux:
71 ui::SelectFileDialog* CreateSelectFileDialog( 71 ui::SelectFileDialog* CreateSelectFileDialog(
72 ui::SelectFileDialog::Listener* listener, 72 ui::SelectFileDialog::Listener* listener,
73 ui::SelectFilePolicy* policy) const override; 73 ui::SelectFilePolicy* policy) const override;
74 74
75 // ui::LinuxUI: 75 // ui::LinuxUI:
76 void Initialize() override; 76 void Initialize() override;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } // namespace libgtk2ui 247 } // namespace libgtk2ui
248 248
249 // Access point to the GTK2 desktop system. This should be the only symbol that 249 // Access point to the GTK2 desktop system. This should be the only symbol that
250 // is exported in the library; everything else should be used through the 250 // is exported in the library; everything else should be used through the
251 // interface, because eventually this .so will be loaded through dlopen at 251 // interface, because eventually this .so will be loaded through dlopen at
252 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or 252 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or
253 // QT or whatever. 253 // QT or whatever.
254 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); 254 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI();
255 255
256 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 256 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/libgtk2ui/gtk2_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698