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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 116103002: Remove code only used by Mac single threaded compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pull out a bit more Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 const std::vector<AccessibilityHostMsg_EventParams>& params) = 0; 311 const std::vector<AccessibilityHostMsg_EventParams>& params) = 0;
312 312
313 // Return a value that is incremented each time the renderer swaps a new frame 313 // Return a value that is incremented each time the renderer swaps a new frame
314 // to the view. 314 // to the view.
315 virtual uint32 RendererFrameNumber() = 0; 315 virtual uint32 RendererFrameNumber() = 0;
316 // Called each time the RenderWidgetHost receives a new frame for display from 316 // Called each time the RenderWidgetHost receives a new frame for display from
317 // the renderer. 317 // the renderer.
318 virtual void DidReceiveRendererFrame() = 0; 318 virtual void DidReceiveRendererFrame() = 0;
319 319
320 #if defined(OS_MACOSX) 320 #if defined(OS_MACOSX)
321 // Called just before GetBackingStore blocks for an updated frame.
322 virtual void AboutToWaitForBackingStoreMsg() = 0;
323
324 // Does any event handling necessary for plugin IME; should be called after 321 // Does any event handling necessary for plugin IME; should be called after
325 // the plugin has already had a chance to process the event. If plugin IME is 322 // the plugin has already had a chance to process the event. If plugin IME is
326 // not enabled, this is a no-op, so it is always safe to call. 323 // not enabled, this is a no-op, so it is always safe to call.
327 // Returns true if the event was handled by IME. 324 // Returns true if the event was handled by IME.
328 virtual bool PostProcessEventForPluginIme( 325 virtual bool PostProcessEventForPluginIme(
329 const NativeWebKeyboardEvent& event) = 0; 326 const NativeWebKeyboardEvent& event) = 0;
330 #endif 327 #endif
331 328
332 #if defined(OS_ANDROID) 329 #if defined(OS_ANDROID)
333 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 330 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
(...skipping 11 matching lines...) Expand all
345 342
346 // Returns an HWND that's given as the parent window for windowless Flash to 343 // Returns an HWND that's given as the parent window for windowless Flash to
347 // workaround crbug.com/301548. 344 // workaround crbug.com/301548.
348 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; 345 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
349 #endif 346 #endif
350 }; 347 };
351 348
352 } // namespace content 349 } // namespace content
353 350
354 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 351 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698