| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 VIEWS_WIDGET_WIDGET_GTK_H_ | 5 #ifndef VIEWS_WIDGET_WIDGET_GTK_H_ |
| 6 #define VIEWS_WIDGET_WIDGET_GTK_H_ | 6 #define VIEWS_WIDGET_WIDGET_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual void CloseNow(); | 85 virtual void CloseNow(); |
| 86 virtual void Show(); | 86 virtual void Show(); |
| 87 virtual void Hide(); | 87 virtual void Hide(); |
| 88 virtual gfx::NativeView GetNativeView() const; | 88 virtual gfx::NativeView GetNativeView() const; |
| 89 virtual void PaintNow(const gfx::Rect& update_rect); | 89 virtual void PaintNow(const gfx::Rect& update_rect); |
| 90 virtual void SetOpacity(unsigned char opacity); | 90 virtual void SetOpacity(unsigned char opacity); |
| 91 virtual RootView* GetRootView(); | 91 virtual RootView* GetRootView(); |
| 92 virtual Widget* GetRootWidget() const; | 92 virtual Widget* GetRootWidget() const; |
| 93 virtual bool IsVisible() const; | 93 virtual bool IsVisible() const; |
| 94 virtual bool IsActive() const; | 94 virtual bool IsActive() const; |
| 95 virtual void GenerateMousePressedForView(View* view, |
| 96 const gfx::Point& point); |
| 95 virtual TooltipManager* GetTooltipManager(); | 97 virtual TooltipManager* GetTooltipManager(); |
| 96 virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator); | 98 virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator); |
| 97 virtual Window* GetWindow(); | 99 virtual Window* GetWindow(); |
| 98 virtual const Window* GetWindow() const; | 100 virtual const Window* GetWindow() const; |
| 99 virtual ThemeProvider* GetThemeProvider() const; | 101 virtual ThemeProvider* GetThemeProvider() const; |
| 100 | 102 |
| 101 // MessageLoopForUI::Observer. | 103 // MessageLoopForUI::Observer. |
| 102 virtual void WillProcessEvent(GdkEvent* event) {} | 104 virtual void WillProcessEvent(GdkEvent* event) {} |
| 103 virtual void DidProcessEvent(GdkEvent* event); | 105 virtual void DidProcessEvent(GdkEvent* event); |
| 104 | 106 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 bool transparent_; | 245 bool transparent_; |
| 244 | 246 |
| 245 scoped_ptr<DefaultThemeProvider> default_theme_provider_; | 247 scoped_ptr<DefaultThemeProvider> default_theme_provider_; |
| 246 | 248 |
| 247 DISALLOW_COPY_AND_ASSIGN(WidgetGtk); | 249 DISALLOW_COPY_AND_ASSIGN(WidgetGtk); |
| 248 }; | 250 }; |
| 249 | 251 |
| 250 } // namespace views | 252 } // namespace views |
| 251 | 253 |
| 252 #endif // VIEWS_WIDGET_WIDGET_GTK_H_ | 254 #endif // VIEWS_WIDGET_WIDGET_GTK_H_ |
| OLD | NEW |