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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest_helper.h

Issue 11554030: <webview>: Add name attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added tests Created 8 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_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_
7 7
8 #include "content/port/common/input_event_ack_state.h" 8 #include "content/port/common/input_event_ack_state.h"
9 #include "content/public/browser/render_view_host_observer.h" 9 #include "content/public/browser/render_view_host_observer.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 51 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
52 void OnHandleInputEventAck(WebKit::WebInputEvent::Type event_type, 52 void OnHandleInputEventAck(WebKit::WebInputEvent::Type event_type,
53 InputEventAckState ack_result); 53 InputEventAckState ack_result);
54 void OnTakeFocus(bool reverse); 54 void OnTakeFocus(bool reverse);
55 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); 55 void OnShowWidget(int route_id, const gfx::Rect& initial_pos);
56 void OnMsgHasTouchEventHandlers(bool has_handlers); 56 void OnMsgHasTouchEventHandlers(bool has_handlers);
57 void OnSetCursor(const WebCursor& cursor); 57 void OnSetCursor(const WebCursor& cursor);
58 #if defined(OS_MACOSX) 58 #if defined(OS_MACOSX)
59 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); 59 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params);
60 #endif 60 #endif
61 void OnUpdateFrameName(int frame_id,
62 bool is_top_level,
63 const std::string& name);
61 64
62 BrowserPluginGuest* guest_; 65 BrowserPluginGuest* guest_;
63 // A scoped container for notification registries. 66 // A scoped container for notification registries.
64 NotificationRegistrar registrar_; 67 NotificationRegistrar registrar_;
65 68
66 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestHelper); 69 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestHelper);
67 }; 70 };
68 71
69 } // namespace content 72 } // namespace content
70 73
71 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_ 74 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698