| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_NATIVE_WIDGET_GTK_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 virtual void UpdateFrameAfterFrameChange() OVERRIDE; | 145 virtual void UpdateFrameAfterFrameChange() OVERRIDE; |
| 146 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 146 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 147 virtual void FrameTypeChanged() OVERRIDE; | 147 virtual void FrameTypeChanged() OVERRIDE; |
| 148 virtual Widget* GetWidget() OVERRIDE; | 148 virtual Widget* GetWidget() OVERRIDE; |
| 149 virtual const Widget* GetWidget() const OVERRIDE; | 149 virtual const Widget* GetWidget() const OVERRIDE; |
| 150 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 150 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 151 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 151 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 152 virtual Widget* GetTopLevelWidget() OVERRIDE; | 152 virtual Widget* GetTopLevelWidget() OVERRIDE; |
| 153 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 153 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
| 154 virtual ui::Compositor* GetCompositor() OVERRIDE; | 154 virtual ui::Compositor* GetCompositor() OVERRIDE; |
| 155 virtual void MarkLayerDirty() OVERRIDE; | 155 virtual void CalculateOffsetToAncestorWithLayer( |
| 156 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 156 gfx::Point* offset, |
| 157 View** ancestor) OVERRIDE; | 157 ui::Layer** layer_parent) OVERRIDE; |
| 158 virtual void ViewRemoved(View* view) OVERRIDE; | 158 virtual void ViewRemoved(View* view) OVERRIDE; |
| 159 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 159 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
| 160 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 160 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
| 161 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 161 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
| 162 virtual bool IsScreenReaderActive() const OVERRIDE; | 162 virtual bool IsScreenReaderActive() const OVERRIDE; |
| 163 virtual void SendNativeAccessibilityEvent( | 163 virtual void SendNativeAccessibilityEvent( |
| 164 View* view, | 164 View* view, |
| 165 ui::AccessibilityTypes::Event event_type) OVERRIDE; | 165 ui::AccessibilityTypes::Event event_type) OVERRIDE; |
| 166 virtual void SetMouseCapture() OVERRIDE; | 166 virtual void SetMouseCapture() OVERRIDE; |
| 167 virtual void ReleaseMouseCapture() OVERRIDE; | 167 virtual void ReleaseMouseCapture() OVERRIDE; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 452 |
| 453 // If we were created for a menu. | 453 // If we were created for a menu. |
| 454 bool is_menu_; | 454 bool is_menu_; |
| 455 | 455 |
| 456 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 456 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
| 457 }; | 457 }; |
| 458 | 458 |
| 459 } // namespace views | 459 } // namespace views |
| 460 | 460 |
| 461 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 461 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| OLD | NEW |