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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 2877323002: Add WebContentObserver::OnWebContentsLostFocus() (Closed)
Patch Set: Remove useless include Created 3 years, 7 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
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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // one or two places. Have the caller send the IPC message directly (unless 207 // one or two places. Have the caller send the IPC message directly (unless
208 // the caller places are in different platforms, in which case it's better 208 // the caller places are in different platforms, in which case it's better
209 // to keep them consistent). 209 // to keep them consistent).
210 210
211 protected: 211 protected:
212 // RenderWidgetHostOwnerDelegate overrides. 212 // RenderWidgetHostOwnerDelegate overrides.
213 bool OnMessageReceived(const IPC::Message& msg) override; 213 bool OnMessageReceived(const IPC::Message& msg) override;
214 void RenderWidgetDidInit() override; 214 void RenderWidgetDidInit() override;
215 void RenderWidgetWillSetIsLoading(bool is_loading) override; 215 void RenderWidgetWillSetIsLoading(bool is_loading) override;
216 void RenderWidgetGotFocus() override; 216 void RenderWidgetGotFocus() override;
217 void RenderWidgetLostFocus() override;
217 void RenderWidgetDidForwardMouseEvent( 218 void RenderWidgetDidForwardMouseEvent(
218 const blink::WebMouseEvent& mouse_event) override; 219 const blink::WebMouseEvent& mouse_event) override;
219 bool MayRenderWidgetForwardKeyboardEvent( 220 bool MayRenderWidgetForwardKeyboardEvent(
220 const NativeWebKeyboardEvent& key_event) override; 221 const NativeWebKeyboardEvent& key_event) override;
221 222
222 // IPC message handlers. 223 // IPC message handlers.
223 void OnShowView(int route_id, 224 void OnShowView(int route_id,
224 WindowOpenDisposition disposition, 225 WindowOpenDisposition disposition,
225 const gfx::Rect& initial_rect, 226 const gfx::Rect& initial_rect,
226 bool user_gesture); 227 bool user_gesture);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 bool render_view_ready_on_process_launch_; 329 bool render_view_ready_on_process_launch_;
329 330
330 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; 331 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_;
331 332
332 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 333 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
333 }; 334 };
334 335
335 } // namespace content 336 } // namespace content
336 337
337 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 338 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate_view.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698