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

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

Issue 1388293002: Notify WebContentsObservers of user interactions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 void set_nav_entry_id(int nav_entry_id) { nav_entry_id_ = nav_entry_id; } 326 void set_nav_entry_id(int nav_entry_id) { nav_entry_id_ = nav_entry_id; }
327 327
328 // NOTE: Do not add functions that just send an IPC message that are called in 328 // NOTE: Do not add functions that just send an IPC message that are called in
329 // one or two places. Have the caller send the IPC message directly (unless 329 // one or two places. Have the caller send the IPC message directly (unless
330 // the caller places are in different platforms, in which case it's better 330 // the caller places are in different platforms, in which case it's better
331 // to keep them consistent). 331 // to keep them consistent).
332 332
333 protected: 333 protected:
334 // RenderWidgetHost protected overrides. 334 // RenderWidgetHost protected overrides.
335 void OnUserGesture() override; 335 void OnUserGesture() override;
336 void OnUserInput(const blink::WebInputEvent::Type type) override;
336 void NotifyRendererUnresponsive() override; 337 void NotifyRendererUnresponsive() override;
337 void NotifyRendererResponsive() override; 338 void NotifyRendererResponsive() override;
338 void OnRenderAutoResized(const gfx::Size& size) override; 339 void OnRenderAutoResized(const gfx::Size& size) override;
339 void RequestToLockMouse(bool user_gesture, 340 void RequestToLockMouse(bool user_gesture,
340 bool last_unlocked_by_target) override; 341 bool last_unlocked_by_target) override;
341 bool IsFullscreenGranted() const override; 342 bool IsFullscreenGranted() const override;
342 blink::WebDisplayMode GetDisplayMode() const override; 343 blink::WebDisplayMode GetDisplayMode() const override;
343 void OnFocus() override; 344 void OnFocus() override;
344 void OnBlur() override; 345 void OnBlur() override;
345 346
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 488 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
488 }; 489 };
489 490
490 #if defined(COMPILER_MSVC) 491 #if defined(COMPILER_MSVC)
491 #pragma warning(pop) 492 #pragma warning(pop)
492 #endif 493 #endif
493 494
494 } // namespace content 495 } // namespace content
495 496
496 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 497 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698