| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |