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

Side by Side Diff: services/navigation/view_impl.h

Issue 2039613002: Add a debug view to the browser that allows various navigation features to be used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « services/navigation/public/interfaces/view.mojom ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 SERVICES_NAVIGATION_VIEW_IMPL_H_ 5 #ifndef SERVICES_NAVIGATION_VIEW_IMPL_H_
6 #define SERVICES_NAVIGATION_VIEW_IMPL_H_ 6 #define SERVICES_NAVIGATION_VIEW_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/mus/public/cpp/window_tree_client_delegate.h" 9 #include "components/mus/public/cpp/window_tree_client_delegate.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
(...skipping 26 matching lines...) Expand all
37 37
38 private: 38 private:
39 // mojom::View: 39 // mojom::View:
40 void NavigateTo(const GURL& url) override; 40 void NavigateTo(const GURL& url) override;
41 void GoBack() override; 41 void GoBack() override;
42 void GoForward() override; 42 void GoForward() override;
43 void Reload(bool skip_cache) override; 43 void Reload(bool skip_cache) override;
44 void Stop() override; 44 void Stop() override;
45 void GetWindowTreeClient( 45 void GetWindowTreeClient(
46 mus::mojom::WindowTreeClientRequest request) override; 46 mus::mojom::WindowTreeClientRequest request) override;
47 void ShowInterstitial(const mojo::String& html) override;
48 void HideInterstitial() override;
47 49
48 // content::WebContentsDelegate: 50 // content::WebContentsDelegate:
49 void AddNewContents(content::WebContents* source, 51 void AddNewContents(content::WebContents* source,
50 content::WebContents* new_contents, 52 content::WebContents* new_contents,
51 WindowOpenDisposition disposition, 53 WindowOpenDisposition disposition,
52 const gfx::Rect& initial_rect, 54 const gfx::Rect& initial_rect,
53 bool user_gesture, 55 bool user_gesture,
54 bool* was_blocked) override; 56 bool* was_blocked) override;
55 void CloseContents(content::WebContents* source) override; 57 void CloseContents(content::WebContents* source) override;
56 void LoadingStateChanged(content::WebContents* source, 58 void LoadingStateChanged(content::WebContents* source,
(...skipping 23 matching lines...) Expand all
80 std::unique_ptr<content::WebContents> web_contents_; 82 std::unique_ptr<content::WebContents> web_contents_;
81 83
82 std::unique_ptr<views::Widget> widget_; 84 std::unique_ptr<views::Widget> widget_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(ViewImpl); 86 DISALLOW_COPY_AND_ASSIGN(ViewImpl);
85 }; 87 };
86 88
87 } // navigation 89 } // navigation
88 90
89 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ 91 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « services/navigation/public/interfaces/view.mojom ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698