| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 virtual void SetDownloadCount(int count) const OVERRIDE; | 96 virtual void SetDownloadCount(int count) const OVERRIDE; |
| 97 virtual void SetProgressFraction(float percentage) const OVERRIDE; | 97 virtual void SetProgressFraction(float percentage) const OVERRIDE; |
| 98 virtual bool IsStatusIconSupported() const OVERRIDE; | 98 virtual bool IsStatusIconSupported() const OVERRIDE; |
| 99 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon( | 99 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon( |
| 100 const gfx::ImageSkia& image, | 100 const gfx::ImageSkia& image, |
| 101 const base::string16& tool_tip) const OVERRIDE; | 101 const base::string16& tool_tip) const OVERRIDE; |
| 102 virtual gfx::Image GetIconForContentType( | 102 virtual gfx::Image GetIconForContentType( |
| 103 const std::string& content_type, int size) const OVERRIDE; | 103 const std::string& content_type, int size) const OVERRIDE; |
| 104 virtual scoped_ptr<views::Border> CreateNativeBorder( | 104 virtual scoped_ptr<views::Border> CreateNativeBorder( |
| 105 views::LabelButton* owning_button, | 105 views::LabelButton* owning_button, |
| 106 scoped_ptr<views::Border> border) OVERRIDE; | 106 scoped_ptr<views::LabelButtonBorder> border) OVERRIDE; |
| 107 virtual void AddWindowButtonOrderObserver( | 107 virtual void AddWindowButtonOrderObserver( |
| 108 views::WindowButtonOrderObserver* observer) OVERRIDE; | 108 views::WindowButtonOrderObserver* observer) OVERRIDE; |
| 109 virtual void RemoveWindowButtonOrderObserver( | 109 virtual void RemoveWindowButtonOrderObserver( |
| 110 views::WindowButtonOrderObserver* observer) OVERRIDE; | 110 views::WindowButtonOrderObserver* observer) OVERRIDE; |
| 111 virtual bool UnityIsRunning() OVERRIDE; | 111 virtual bool UnityIsRunning() OVERRIDE; |
| 112 virtual NonClientMiddleClickAction GetNonClientMiddleClickAction() OVERRIDE; | 112 virtual NonClientMiddleClickAction GetNonClientMiddleClickAction() OVERRIDE; |
| 113 virtual void NotifyWindowManagerStartupComplete() OVERRIDE; | 113 virtual void NotifyWindowManagerStartupComplete() OVERRIDE; |
| 114 | 114 |
| 115 // ui::TextEditKeybindingDelegate: | 115 // ui::TextEditKeybindingDelegate: |
| 116 virtual bool MatchEvent( | 116 virtual bool MatchEvent( |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 } // namespace libgtk2ui | 255 } // namespace libgtk2ui |
| 256 | 256 |
| 257 // Access point to the GTK2 desktop system. This should be the only symbol that | 257 // Access point to the GTK2 desktop system. This should be the only symbol that |
| 258 // is exported in the library; everything else should be used through the | 258 // is exported in the library; everything else should be used through the |
| 259 // interface, because eventually this .so will be loaded through dlopen at | 259 // interface, because eventually this .so will be loaded through dlopen at |
| 260 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or | 260 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or |
| 261 // QT or whatever. | 261 // QT or whatever. |
| 262 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); | 262 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); |
| 263 | 263 |
| 264 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ | 264 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ |
| OLD | NEW |