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

Side by Side Diff: chrome/plugin/webplugin_delegate_stub.h

Issue 3808001: Implement IME for Mac plugins using the Cocoa event model on 10.6 (Closed)
Patch Set: Windows and unit test compile fixes Created 10 years, 2 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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/plugin/webplugin_delegate_stub.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 int notify_id); 78 int notify_id);
79 79
80 void OnSetContentAreaFocus(bool has_focus); 80 void OnSetContentAreaFocus(bool has_focus);
81 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
82 void OnSetWindowFocus(bool has_focus); 82 void OnSetWindowFocus(bool has_focus);
83 void OnContainerHidden(); 83 void OnContainerHidden();
84 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, 84 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame,
85 bool has_focus); 85 bool has_focus);
86 void OnWindowFrameChanged(const gfx::Rect& window_frame, 86 void OnWindowFrameChanged(const gfx::Rect& window_frame,
87 const gfx::Rect& view_frame); 87 const gfx::Rect& view_frame);
88 void OnImeCompositionConfirmed(const string16& text);
88 #endif 89 #endif
89 90
90 void OnDidReceiveManualResponse( 91 void OnDidReceiveManualResponse(
91 const GURL& url, 92 const GURL& url,
92 const PluginMsg_DidReceiveResponseParams& params); 93 const PluginMsg_DidReceiveResponseParams& params);
93 void OnDidReceiveManualData(const std::vector<char>& buffer); 94 void OnDidReceiveManualData(const std::vector<char>& buffer);
94 void OnDidFinishManualLoading(); 95 void OnDidFinishManualLoading();
95 void OnDidManualLoadFail(); 96 void OnDidManualLoadFail();
96 void OnInstallMissingPlugin(); 97 void OnInstallMissingPlugin();
97 void OnHandleURLRequestReply(unsigned long resource_id, 98 void OnHandleURLRequestReply(unsigned long resource_id,
(...skipping 30 matching lines...) Expand all
128 // browser. 129 // browser.
129 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); 130 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window);
130 #endif 131 #endif
131 132
132 #endif 133 #endif
133 134
134 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); 135 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
135 }; 136 };
136 137
137 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 138 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698