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

Unified Diff: views/events/event.h

Issue 7942004: Consolidate/cleanup event cracking code; single out GdkEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows event code consolidation. Created 9 years, 3 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
Index: views/events/event.h
diff --git a/views/events/event.h b/views/events/event.h
index 4231598e4c04eae765869dd822a7d813d10a1b7b..080b46a65899b08b5569dcc74afc06e06561f030 100644
--- a/views/events/event.h
+++ b/views/events/event.h
@@ -32,11 +32,6 @@ class NativeWidgetView;
class RootView;
}
-#if defined(OS_WIN) || defined(USE_AURA)
-VIEWS_EXPORT bool IsClientMouseEvent(const views::NativeEvent& native_event);
-VIEWS_EXPORT bool IsNonClientMouseEvent(const views::NativeEvent& native_event);
-#endif
-
////////////////////////////////////////////////////////////////////////////////
//
// Event class
@@ -88,14 +83,6 @@ class VIEWS_EXPORT Event {
type_ == ui::ET_TOUCH_CANCELLED;
}
-#if defined(OS_WIN) && !defined(USE_AURA)
- // Returns the EventFlags in terms of windows flags.
- int GetWindowsFlags() const;
-#elif defined(OS_LINUX)
- // Get the views::Event flags from a native GdkEvent.
- static int GetFlagsFromGdkEvent(NativeEvent native_event);
-#endif
-
protected:
Event(ui::EventType type, int flags);
Event(NativeEvent native_event, ui::EventType type, int flags);

Powered by Google App Engine
This is Rietveld 408576698