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

Unified Diff: ui/views/widget/widget_message_filter.h

Issue 10662037: basic nc paint, moving, resizing for views_examples_exe on win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GetHwnd->hwnd Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/desktop_native_widget_helper_aura.cc ('k') | ui/views/widget/widget_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_message_filter.h
diff --git a/ui/views/widget/widget_message_filter.h b/ui/views/widget/widget_message_filter.h
index a453d58d0c5a404989849cf4f7bb3a42a3ad3999..cd2b7f7474498cf91e180edb0faf45f18eeb02aa 100644
--- a/ui/views/widget/widget_message_filter.h
+++ b/ui/views/widget/widget_message_filter.h
@@ -38,18 +38,25 @@ class WidgetMessageFilter : public ui::HWNDMessageFilter {
bool OnNCCalcSize(WPARAM w_param, LPARAM l_param, LRESULT* l_result);
bool OnNCHitTest(int x, int y, LRESULT* l_result);
bool OnNCPaint(HRGN update_region);
+ bool OnNCActivate(bool active, HRGN update_region);
void OnSize();
void OnWindowPosChanged(WINDOWPOS* window_pos);
// TODO(beng): Lift documentation from NativeWidgetWin.
- gfx::Insets GetClientAreaInsets() const;
+ bool GetClientAreaInsets(gfx::Insets* insets) const;
bool WidgetSizeIsClientSize() const;
void ClientAreaSizeChanged();
void ResetWindowRegion(bool force);
+ HWND hwnd() const;
+ bool IsVisible() const;
+ bool HasCapture() const;
aura::RootWindow* root_window_;
Widget* widget_;
HWND hwnd_;
+ int lock_updates_count_;
+ bool is_right_mouse_pressed_on_caption_;
+ bool* destroyed_;
DISALLOW_COPY_AND_ASSIGN(WidgetMessageFilter);
};
« no previous file with comments | « ui/views/widget/desktop_native_widget_helper_aura.cc ('k') | ui/views/widget/widget_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698