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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1388293002: Notify WebContentsObservers of user interactions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 5 years, 1 month 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 void DidCancelLoading() override; 463 void DidCancelLoading() override;
464 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override; 464 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override;
465 void RouteCloseEvent(RenderViewHost* rvh) override; 465 void RouteCloseEvent(RenderViewHost* rvh) override;
466 bool AddMessageToConsole(int32 level, 466 bool AddMessageToConsole(int32 level,
467 const base::string16& message, 467 const base::string16& message,
468 int32 line_no, 468 int32 line_no,
469 const base::string16& source_id) override; 469 const base::string16& source_id) override;
470 RendererPreferences GetRendererPrefs( 470 RendererPreferences GetRendererPrefs(
471 BrowserContext* browser_context) const override; 471 BrowserContext* browser_context) const override;
472 void OnUserGesture() override; 472 void OnUserGesture() override;
473 void OnUserInteraction(const blink::WebInputEvent::Type type) override;
473 void OnIgnoredUIEvent() override; 474 void OnIgnoredUIEvent() override;
474 void RendererUnresponsive(RenderViewHost* render_view_host) override; 475 void RendererUnresponsive(RenderViewHost* render_view_host) override;
475 void RendererResponsive(RenderViewHost* render_view_host) override; 476 void RendererResponsive(RenderViewHost* render_view_host) override;
476 void LoadStateChanged(const GURL& url, 477 void LoadStateChanged(const GURL& url,
477 const net::LoadStateWithParam& load_state, 478 const net::LoadStateWithParam& load_state,
478 uint64 upload_position, 479 uint64 upload_position,
479 uint64 upload_size) override; 480 uint64 upload_size) override;
480 void Activate() override; 481 void Activate() override;
481 void LostCapture() override; 482 void LostCapture() override;
482 void RunFileChooser(RenderViewHost* render_view_host, 483 void RunFileChooser(RenderViewHost* render_view_host,
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 // Adds/removes a callback called on creation of each new WebContents. 1329 // Adds/removes a callback called on creation of each new WebContents.
1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1331 1332
1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1333 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1333 }; 1334 };
1334 1335
1335 } // namespace content 1336 } // namespace content
1336 1337
1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698