summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 23:04:42 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 23:04:42 +0000
commitdbaa96b5ef7e03908aaa9567aa4cc693bcd89fca (patch)
tree7949aefe6dfc47fe1e43df8067477c08f8586ceb /chrome
parentc19386417048319448a58cf119c1854d1e4eb0be (diff)
downloadchromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.zip
chromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.tar.gz
chromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.tar.bz2
Adds DidProcessEvent to MessagePumpGLib.
BUG=none TEST=none Review URL: http://codereview.chromium.org/113600 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/tabs/dragged_tab_controller.cc3
-rw-r--r--chrome/browser/views/tabs/dragged_tab_controller.h3
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc3
-rw-r--r--chrome/browser/views/tabs/tab_strip.h1
4 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc
index 220acfd..8ba91cf 100644
--- a/chrome/browser/views/tabs/dragged_tab_controller.cc
+++ b/chrome/browser/views/tabs/dragged_tab_controller.cc
@@ -449,6 +449,9 @@ void DraggedTabController::DidProcessMessage(const MSG& msg) {
}
#else
void DraggedTabController::WillProcessEvent(GdkEvent* event) {
+}
+
+void DraggedTabController::DidProcessEvent(GdkEvent* event) {
NOTIMPLEMENTED();
}
#endif
diff --git a/chrome/browser/views/tabs/dragged_tab_controller.h b/chrome/browser/views/tabs/dragged_tab_controller.h
index a21c0d1..4b2c2f0 100644
--- a/chrome/browser/views/tabs/dragged_tab_controller.h
+++ b/chrome/browser/views/tabs/dragged_tab_controller.h
@@ -116,12 +116,13 @@ class DraggedTabController : public TabContentsDelegate,
const NotificationSource& source,
const NotificationDetails& details);
-#if defined(OS_WIN)
// Overridden from MessageLoop::Observer:
+#if defined(OS_WIN)
virtual void WillProcessMessage(const MSG& msg);
virtual void DidProcessMessage(const MSG& msg);
#else
virtual void WillProcessEvent(GdkEvent* event);
+ virtual void DidProcessEvent(GdkEvent* event);
#endif
// Initialize the offset used to calculate the position to create windows
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index bb340d8..47cc89d 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -1062,6 +1062,9 @@ void TabStrip::DidProcessMessage(const MSG& msg) {
}
#else
void TabStrip::WillProcessEvent(GdkEvent* event) {
+}
+
+void TabStrip::DidProcessEvent(GdkEvent* event) {
NOTIMPLEMENTED();
}
#endif
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h
index 51a839f..80d4385 100644
--- a/chrome/browser/views/tabs/tab_strip.h
+++ b/chrome/browser/views/tabs/tab_strip.h
@@ -149,6 +149,7 @@ class TabStrip : public views::View,
virtual void DidProcessMessage(const MSG& msg);
#else
virtual void WillProcessEvent(GdkEvent* event);
+ virtual void DidProcessEvent(GdkEvent* event);
#endif
private: