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

Side by Side Diff: views/window/native_window_views.h

Issue 6976040: Revert 86914 - Move a bunch of functions 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/window/native_window_gtk.cc ('k') | views/window/native_window_views.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_WINDOW_NATIVE_WINDOW_VIEWS_H_ 5 #ifndef VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ 6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "views/window/native_window.h" 10 #include "views/window/native_window.h"
(...skipping 26 matching lines...) Expand all
37 bool* maximized) const OVERRIDE; 37 bool* maximized) const OVERRIDE;
38 virtual void EnableClose(bool enable) OVERRIDE; 38 virtual void EnableClose(bool enable) OVERRIDE;
39 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE; 39 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE;
40 virtual void SetWindowIcons(const SkBitmap& window_icon, 40 virtual void SetWindowIcons(const SkBitmap& window_icon,
41 const SkBitmap& app_icon) OVERRIDE; 41 const SkBitmap& app_icon) OVERRIDE;
42 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE; 42 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE;
43 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 43 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
44 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 44 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
45 virtual void SetWindowBounds(const gfx::Rect& bounds, 45 virtual void SetWindowBounds(const gfx::Rect& bounds,
46 gfx::NativeWindow other_window) OVERRIDE; 46 gfx::NativeWindow other_window) OVERRIDE;
47 virtual void HideWindow() OVERRIDE;
48 virtual void Activate() OVERRIDE;
49 virtual void Deactivate() OVERRIDE;
50 virtual void Maximize() OVERRIDE;
51 virtual void Minimize() OVERRIDE;
52 virtual void Restore() OVERRIDE;
53 virtual bool IsActive() const OVERRIDE;
54 virtual bool IsVisible() const OVERRIDE;
55 virtual bool IsMaximized() const OVERRIDE;
56 virtual bool IsMinimized() const OVERRIDE;
47 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 57 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
48 virtual bool IsFullscreen() const OVERRIDE; 58 virtual bool IsFullscreen() const OVERRIDE;
59 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
49 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 60 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
50 virtual NonClientFrameView* CreateFrameViewForWindow() OVERRIDE; 61 virtual NonClientFrameView* CreateFrameViewForWindow() OVERRIDE;
51 virtual void UpdateFrameAfterFrameChange() OVERRIDE; 62 virtual void UpdateFrameAfterFrameChange() OVERRIDE;
63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
52 virtual bool ShouldUseNativeFrame() const OVERRIDE; 64 virtual bool ShouldUseNativeFrame() const OVERRIDE;
53 virtual void FrameTypeChanged() OVERRIDE; 65 virtual void FrameTypeChanged() OVERRIDE;
54 66
55 internal::NativeWindowDelegate* delegate_; 67 internal::NativeWindowDelegate* delegate_;
56 68
57 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews); 69 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews);
58 }; 70 };
59 71
60 } 72 }
61 73
62 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ 74 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « views/window/native_window_gtk.cc ('k') | views/window/native_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698