| Index: content/browser/renderer_host/render_widget_resize_helper.h
|
| diff --git a/content/browser/renderer_host/render_widget_resize_helper_mac.h b/content/browser/renderer_host/render_widget_resize_helper.h
|
| similarity index 85%
|
| rename from content/browser/renderer_host/render_widget_resize_helper_mac.h
|
| rename to content/browser/renderer_host/render_widget_resize_helper.h
|
| index 459966f668a7945ddcd5e6e25ce7000d7c5e3680..603c29670e43bb40610790d6ac5b620946744c43 100644
|
| --- a/content/browser/renderer_host/render_widget_resize_helper_mac.h
|
| +++ b/content/browser/renderer_host/render_widget_resize_helper.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_MAC_H_
|
| -#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_MAC_H_
|
| +#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_H_
|
| +#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_H_
|
|
|
| #include "base/macros.h"
|
|
|
| @@ -14,16 +14,16 @@ class Message;
|
| namespace content {
|
|
|
| // Provides functions for content to synchronize with window resize tasks being
|
| -// managed by ui::WindowResizeHelperMac. WindowResizeHelperMac must be
|
| +// managed by ui::WindowResizeHelper. WindowResizeHelper must be
|
| // initialized before calling these functions.
|
| //
|
| // The IPCs that are required to create new frames for smooth resize are sent
|
| -// to the ui::WindowResizeHelperMac singleton using the PostRendererProcessMsg()
|
| +// to the ui::WindowResizeHelper singleton using the PostRendererProcessMsg()
|
| // and PostGpuProcessMsg() methods. Usually those IPCs arrive on the IO thread
|
| // and are posted as tasks to the UI thread either by the RenderMessageFilter
|
| // (for renderer processes) or the GpuProcessHostUIShim (for the GPU process).
|
| // By posting them via RenderWidgetResizeHelper instead, it allows a smooth
|
| -// window resize to be controlled by WindowResizeHelperMac.
|
| +// window resize to be controlled by WindowResizeHelper.
|
| class RenderWidgetResizeHelper {
|
| public:
|
| // IO THREAD ONLY -----------------------------------------------------------
|
| @@ -31,7 +31,7 @@ class RenderWidgetResizeHelper {
|
| // This will cause |msg| to be handled by the RenderProcessHost corresponding
|
| // to |render_process_id|, on the UI thread. This will either happen when the
|
| // ordinary message loop would run it, or potentially earlier in a call to
|
| - // WindowResizeHelperMac::WaitForSingleTaskToRun().
|
| + // WindowResizeHelper::WaitForSingleTaskToRun().
|
| static void PostRendererProcessMsg(int render_process_id,
|
| const IPC::Message& msg);
|
|
|
| @@ -45,4 +45,4 @@ class RenderWidgetResizeHelper {
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_MAC_H_
|
| +#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_RESIZE_HELPER_H_
|
|
|