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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/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) 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_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void OnHandleInputEvent(const blink::WebInputEvent* event, 72 void OnHandleInputEvent(const blink::WebInputEvent* event,
73 bool* handled, WebCursor* cursor); 73 bool* handled, WebCursor* cursor);
74 void OnPaint(const gfx::Rect& damaged_rect); 74 void OnPaint(const gfx::Rect& damaged_rect);
75 void OnDidPaint(); 75 void OnDidPaint();
76 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param); 76 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param);
77 void OnGetPluginScriptableObject(int* route_id); 77 void OnGetPluginScriptableObject(int* route_id);
78 void OnSendJavaScriptStream(const GURL& url, 78 void OnSendJavaScriptStream(const GURL& url,
79 const std::string& result, 79 const std::string& result,
80 bool success, 80 bool success,
81 int notify_id); 81 int notify_id);
82 void OnGetFormValue(string16* value, bool* success); 82 void OnGetFormValue(base::string16* value, bool* success);
83 83
84 void OnSetContentAreaFocus(bool has_focus); 84 void OnSetContentAreaFocus(bool has_focus);
85 #if defined(OS_WIN) && !defined(USE_AURA) 85 #if defined(OS_WIN) && !defined(USE_AURA)
86 void OnImeCompositionUpdated(const string16& text, 86 void OnImeCompositionUpdated(const base::string16& text,
87 const std::vector<int>& clauses, 87 const std::vector<int>& clauses,
88 const std::vector<int>& target, 88 const std::vector<int>& target,
89 int cursor_position); 89 int cursor_position);
90 void OnImeCompositionCompleted(const string16& text); 90 void OnImeCompositionCompleted(const base::string16& text);
91 #endif 91 #endif
92 #if defined(OS_MACOSX) 92 #if defined(OS_MACOSX)
93 void OnSetWindowFocus(bool has_focus); 93 void OnSetWindowFocus(bool has_focus);
94 void OnContainerHidden(); 94 void OnContainerHidden();
95 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, 95 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame,
96 bool has_focus); 96 bool has_focus);
97 void OnWindowFrameChanged(const gfx::Rect& window_frame, 97 void OnWindowFrameChanged(const gfx::Rect& window_frame,
98 const gfx::Rect& view_frame); 98 const gfx::Rect& view_frame);
99 void OnImeCompositionCompleted(const string16& text); 99 void OnImeCompositionCompleted(const base::string16& text);
100 #endif 100 #endif
101 101
102 void OnDidReceiveManualResponse( 102 void OnDidReceiveManualResponse(
103 const GURL& url, 103 const GURL& url,
104 const PluginMsg_DidReceiveResponseParams& params); 104 const PluginMsg_DidReceiveResponseParams& params);
105 void OnDidReceiveManualData(const std::vector<char>& buffer); 105 void OnDidReceiveManualData(const std::vector<char>& buffer);
106 void OnDidFinishManualLoading(); 106 void OnDidFinishManualLoading();
107 void OnDidManualLoadFail(); 107 void OnDidManualLoadFail();
108 void OnHandleURLRequestReply(unsigned long resource_id, 108 void OnHandleURLRequestReply(unsigned long resource_id,
109 const GURL& url, 109 const GURL& url,
(...skipping 13 matching lines...) Expand all
123 123
124 // The url of the main frame hosting the plugin. 124 // The url of the main frame hosting the plugin.
125 GURL page_url_; 125 GURL page_url_;
126 126
127 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); 127 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
128 }; 128 };
129 129
130 } // namespace content 130 } // namespace content
131 131
132 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 132 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698