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

Side by Side Diff: services/navigation/public/cpp/view_observer.h

Issue 2901613002: Remove navigation_service_unittests, along with the service itself. (Closed)
Patch Set: Fix isolate files? 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_OBSERVER_H_
6 #define SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_OBSERVER_H_
7
8 namespace navigation {
9
10 class View;
11
12 class ViewObserver {
13 public:
14 // Called when network activity for the application(s) within |view| starts or
15 // stops.
16 virtual void LoadingStateChanged(View* view) {}
17
18 // Called when the progress of network activity for the application(s) within
19 // |view| changes.
20 virtual void LoadProgressChanged(View* view, double progress) {}
21
22 // Called when a navigation occurs within |view|.
23 virtual void NavigationStateChanged(View* view) {}
24
25 // Called when the target URL of a mouse click at the current mouse position
26 // changes. Will provide an empty URL if no navigation would result from such
27 // a click.
28 virtual void HoverTargetURLChanged(View* view, const GURL& target_url) {}
29 };
30
31 } // namespace navigation
32
33 #endif // SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « services/navigation/public/cpp/view_delegate.h ('k') | services/navigation/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698