Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: views/widget/native_widget_gtk.h

Issue 7273084: Change the meaning of "Widget::GetTopLevelWidget()" to mean the logical top level Window in the v... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/views.gyp ('k') | views/widget/native_widget_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Overridden from internal::NativeWidgetPrivate: 157 // Overridden from internal::NativeWidgetPrivate:
158 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; 158 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE;
159 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 159 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
160 virtual void UpdateFrameAfterFrameChange() OVERRIDE; 160 virtual void UpdateFrameAfterFrameChange() OVERRIDE;
161 virtual bool ShouldUseNativeFrame() const OVERRIDE; 161 virtual bool ShouldUseNativeFrame() const OVERRIDE;
162 virtual void FrameTypeChanged() OVERRIDE; 162 virtual void FrameTypeChanged() OVERRIDE;
163 virtual Widget* GetWidget() OVERRIDE; 163 virtual Widget* GetWidget() OVERRIDE;
164 virtual const Widget* GetWidget() const OVERRIDE; 164 virtual const Widget* GetWidget() const OVERRIDE;
165 virtual gfx::NativeView GetNativeView() const OVERRIDE; 165 virtual gfx::NativeView GetNativeView() const OVERRIDE;
166 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 166 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
167 virtual Widget* GetTopLevelWidget() OVERRIDE;
167 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 168 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
168 virtual ui::Compositor* GetCompositor() OVERRIDE; 169 virtual ui::Compositor* GetCompositor() OVERRIDE;
169 virtual void MarkLayerDirty() OVERRIDE; 170 virtual void MarkLayerDirty() OVERRIDE;
170 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 171 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
171 View** ancestor) OVERRIDE; 172 View** ancestor) OVERRIDE;
172 virtual void ViewRemoved(View* view) OVERRIDE; 173 virtual void ViewRemoved(View* view) OVERRIDE;
173 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 174 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
174 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 175 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
175 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 176 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
176 virtual bool IsScreenReaderActive() const OVERRIDE; 177 virtual bool IsScreenReaderActive() const OVERRIDE;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 453
453 // The compositor for accelerated drawing. 454 // The compositor for accelerated drawing.
454 scoped_refptr<ui::Compositor> compositor_; 455 scoped_refptr<ui::Compositor> compositor_;
455 456
456 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 457 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
457 }; 458 };
458 459
459 } // namespace views 460 } // namespace views
460 461
461 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 462 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « views/views.gyp ('k') | views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698