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

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

Issue 7129022: Move last of event handlers down to NativeWidgetWin/Gtk. (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_gtk.cc ('k') | views/widget/native_widget_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_WIDGET_NATIVE_WIDGET_VIEWS_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_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/widget/native_widget.h" 10 #include "views/widget/native_widget.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 62 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
63 virtual void GetWindowBoundsAndMaximizedState(gfx::Rect* bounds, 63 virtual void GetWindowBoundsAndMaximizedState(gfx::Rect* bounds,
64 bool* maximized) const OVERRIDE; 64 bool* maximized) const OVERRIDE;
65 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE; 65 virtual void SetWindowTitle(const std::wstring& title) OVERRIDE;
66 virtual void SetWindowIcons(const SkBitmap& window_icon, 66 virtual void SetWindowIcons(const SkBitmap& window_icon,
67 const SkBitmap& app_icon) OVERRIDE; 67 const SkBitmap& app_icon) OVERRIDE;
68 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE; 68 virtual void SetAccessibleName(const std::wstring& name) OVERRIDE;
69 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 69 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
70 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 70 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
71 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 71 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
72 virtual void BecomeModal() OVERRIDE;
72 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 73 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
73 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 74 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
74 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 75 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
75 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 76 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
76 virtual void SetSize(const gfx::Size& size) OVERRIDE; 77 virtual void SetSize(const gfx::Size& size) OVERRIDE;
77 virtual void SetBoundsConstrained(const gfx::Rect& bounds, 78 virtual void SetBoundsConstrained(const gfx::Rect& bounds,
78 Widget* other_widget) OVERRIDE; 79 Widget* other_widget) OVERRIDE;
79 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; 80 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE;
80 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 81 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
81 virtual void Close() OVERRIDE; 82 virtual void Close() OVERRIDE;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // The following factory is used for calls to close the NativeWidgetViews 122 // The following factory is used for calls to close the NativeWidgetViews
122 // instance. 123 // instance.
123 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_; 124 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); 126 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews);
126 }; 127 };
127 128
128 } 129 }
129 130
130 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 131 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_gtk.cc ('k') | views/widget/native_widget_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698