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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.h

Issue 6259013: Update Mac plugin IME handling to match updated spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 const gfx::Rect& caret_rect); 475 const gfx::Rect& caret_rect);
476 void OnMsgImeCancelComposition(); 476 void OnMsgImeCancelComposition();
477 477
478 void OnMsgDidActivateAcceleratedCompositing(bool activated); 478 void OnMsgDidActivateAcceleratedCompositing(bool activated);
479 479
480 #if defined(OS_MACOSX) 480 #if defined(OS_MACOSX)
481 void OnMsgGetScreenInfo(gfx::NativeViewId view, 481 void OnMsgGetScreenInfo(gfx::NativeViewId view,
482 WebKit::WebScreenInfo* results); 482 WebKit::WebScreenInfo* results);
483 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 483 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
484 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 484 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
485 void OnMsgSetPluginImeEnabled(bool enabled, int plugin_id); 485 void OnMsgPluginFocusChanged(bool focused, int plugin_id);
486 void OnMsgStartPluginIme();
486 void OnAllocateFakePluginWindowHandle(bool opaque, 487 void OnAllocateFakePluginWindowHandle(bool opaque,
487 bool root, 488 bool root,
488 gfx::PluginWindowHandle* id); 489 gfx::PluginWindowHandle* id);
489 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); 490 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id);
490 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 491 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
491 int32 width, 492 int32 width,
492 int32 height, 493 int32 height,
493 uint64 mach_port); 494 uint64 mach_port);
494 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, 495 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window,
495 int32 width, 496 int32 width,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 668
668 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; 669 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_;
669 670
670 // The last scroll offset of the render widget. 671 // The last scroll offset of the render widget.
671 gfx::Size last_scroll_offset_; 672 gfx::Size last_scroll_offset_;
672 673
673 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 674 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
674 }; 675 };
675 676
676 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 677 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698