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

Unified Diff: chrome/renderer/render_view.cc

Issue 5856001: Cleanup: USE_X11 + OS_MACOSX = OS_POSIX. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 69803)
+++ chrome/renderer/render_view.cc (working copy)
@@ -2243,7 +2243,7 @@
}
void RenderView::didChangeSelection(bool is_empty_selection) {
-#if defined(USE_X11) || defined(OS_MACOSX)
+#if defined(OS_POSIX)
if (!handling_input_event_)
return;
// TODO(estade): investigate incremental updates to the selection so that we
@@ -2265,7 +2265,7 @@
Send(new ViewHostMsg_SelectionChanged(routing_id_,
last_selection_));
}
-#endif
+#endif // defined(OS_POSIX)
}
void RenderView::didExecuteCommand(const WebString& command_name) {
@@ -5631,8 +5631,7 @@
}
#if defined(ENABLE_CLIENT_BASED_GEOLOCATION)
-WebKit::WebGeolocationClient* RenderView::geolocationClient()
-{
+WebKit::WebGeolocationClient* RenderView::geolocationClient() {
if (!geolocation_dispatcher_.get())
geolocation_dispatcher_.reset(new GeolocationDispatcher(this));
return geolocation_dispatcher_.get();

Powered by Google App Engine
This is Rietveld 408576698