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 <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // ui::LinuxInputMethodContextFactory: | 63 // ui::LinuxInputMethodContextFactory: |
64 virtual scoped_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext( | 64 virtual scoped_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext( |
65 ui::LinuxInputMethodContextDelegate* delegate) const OVERRIDE; | 65 ui::LinuxInputMethodContextDelegate* delegate) const OVERRIDE; |
66 | 66 |
67 // gfx::LinuxFontDelegate: | 67 // gfx::LinuxFontDelegate: |
68 virtual bool UseAntialiasing() const OVERRIDE; | 68 virtual bool UseAntialiasing() const OVERRIDE; |
69 virtual gfx::FontRenderParams::Hinting GetHintingStyle() const OVERRIDE; | 69 virtual gfx::FontRenderParams::Hinting GetHintingStyle() const OVERRIDE; |
70 virtual gfx::FontRenderParams::SubpixelRendering | 70 virtual gfx::FontRenderParams::SubpixelRendering |
71 GetSubpixelRenderingStyle() const OVERRIDE; | 71 GetSubpixelRenderingStyle() const OVERRIDE; |
72 virtual std::string GetDefaultFontDescription() const OVERRIDE; | 72 virtual std::string GetDefaultFontDescription() const OVERRIDE; |
| 73 virtual double GetFontDPI() const OVERRIDE; |
73 | 74 |
74 // ui::LinuxShellDialog: | 75 // ui::LinuxShellDialog: |
75 virtual ui::SelectFileDialog* CreateSelectFileDialog( | 76 virtual ui::SelectFileDialog* CreateSelectFileDialog( |
76 ui::SelectFileDialog::Listener* listener, | 77 ui::SelectFileDialog::Listener* listener, |
77 ui::SelectFilePolicy* policy) const OVERRIDE; | 78 ui::SelectFilePolicy* policy) const OVERRIDE; |
78 | 79 |
79 // ui::LinuxUI: | 80 // ui::LinuxUI: |
80 virtual void Initialize() OVERRIDE; | 81 virtual void Initialize() OVERRIDE; |
81 virtual gfx::Image GetThemeImageNamed(int id) const OVERRIDE; | 82 virtual gfx::Image GetThemeImageNamed(int id) const OVERRIDE; |
82 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; | 83 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 } // namespace libgtk2ui | 263 } // namespace libgtk2ui |
263 | 264 |
264 // Access point to the GTK2 desktop system. This should be the only symbol that | 265 // Access point to the GTK2 desktop system. This should be the only symbol that |
265 // is exported in the library; everything else should be used through the | 266 // is exported in the library; everything else should be used through the |
266 // interface, because eventually this .so will be loaded through dlopen at | 267 // interface, because eventually this .so will be loaded through dlopen at |
267 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or | 268 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or |
268 // QT or whatever. | 269 // QT or whatever. |
269 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); | 270 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); |
270 | 271 |
271 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ | 272 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ |
OLD | NEW |