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

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

Issue 7054052: Move more from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/widget/native_widget_delegate.h ('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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 virtual void GetWindowBoundsAndMaximizedState(gfx::Rect* bounds, 176 virtual void GetWindowBoundsAndMaximizedState(gfx::Rect* bounds,
177 bool* maximized) const OVERRIDE; 177 bool* maximized) const OVERRIDE;
178 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE; 178 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE;
179 virtual void SetWindowIcons(const SkBitmap& window_icon, 179 virtual void SetWindowIcons(const SkBitmap& window_icon,
180 const SkBitmap& app_icon) OVERRIDE; 180 const SkBitmap& app_icon) OVERRIDE;
181 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE; 181 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE;
182 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 182 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
183 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 183 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
184 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 184 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
185 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 185 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
186 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
186 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 187 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
187 virtual void SetSize(const gfx::Size& size) OVERRIDE; 188 virtual void SetSize(const gfx::Size& size) OVERRIDE;
188 virtual void SetBoundsConstrained(const gfx::Rect& bounds, 189 virtual void SetBoundsConstrained(const gfx::Rect& bounds,
189 Widget* other_widget) OVERRIDE; 190 Widget* other_widget) OVERRIDE;
190 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; 191 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE;
191 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 192 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
192 virtual void Close() OVERRIDE; 193 virtual void Close() OVERRIDE;
193 virtual void CloseNow() OVERRIDE; 194 virtual void CloseNow() OVERRIDE;
195 virtual void EnableClose(bool enable) OVERRIDE;
194 virtual void Show() OVERRIDE; 196 virtual void Show() OVERRIDE;
195 virtual void Hide() OVERRIDE; 197 virtual void Hide() OVERRIDE;
198 virtual void ShowNativeWidget(ShowState state) OVERRIDE;
196 virtual bool IsVisible() const OVERRIDE; 199 virtual bool IsVisible() const OVERRIDE;
197 virtual void Activate() OVERRIDE; 200 virtual void Activate() OVERRIDE;
198 virtual void Deactivate() OVERRIDE; 201 virtual void Deactivate() OVERRIDE;
199 virtual bool IsActive() const OVERRIDE; 202 virtual bool IsActive() const OVERRIDE;
200 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 203 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
201 virtual void Maximize() OVERRIDE; 204 virtual void Maximize() OVERRIDE;
202 virtual void Minimize() OVERRIDE; 205 virtual void Minimize() OVERRIDE;
203 virtual bool IsMaximized() const OVERRIDE; 206 virtual bool IsMaximized() const OVERRIDE;
204 virtual bool IsMinimized() const OVERRIDE; 207 virtual bool IsMinimized() const OVERRIDE;
205 virtual void Restore() OVERRIDE; 208 virtual void Restore() OVERRIDE;
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 bool painted_; 442 bool painted_;
440 443
441 scoped_ptr<InputMethod> input_method_; 444 scoped_ptr<InputMethod> input_method_;
442 445
443 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 446 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
444 }; 447 };
445 448
446 } // namespace views 449 } // namespace views
447 450
448 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 451 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_delegate.h ('k') | views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698