OLD | NEW |
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/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void SetResizerSize(const gfx::Size& size) override; | 54 void SetResizerSize(const gfx::Size& size) override; |
55 | 55 |
56 // content::WebContentsDelegate: | 56 // content::WebContentsDelegate: |
57 void AddNewContents(content::WebContents* source, | 57 void AddNewContents(content::WebContents* source, |
58 content::WebContents* new_contents, | 58 content::WebContents* new_contents, |
59 WindowOpenDisposition disposition, | 59 WindowOpenDisposition disposition, |
60 const gfx::Rect& initial_rect, | 60 const gfx::Rect& initial_rect, |
61 bool user_gesture, | 61 bool user_gesture, |
62 bool* was_blocked) override; | 62 bool* was_blocked) override; |
63 void CloseContents(content::WebContents* source) override; | 63 void CloseContents(content::WebContents* source) override; |
| 64 content::WebContents* OpenURLFromTab( |
| 65 content::WebContents* source, |
| 66 const content::OpenURLParams& params) override; |
64 void LoadingStateChanged(content::WebContents* source, | 67 void LoadingStateChanged(content::WebContents* source, |
65 bool to_different_document) override; | 68 bool to_different_document) override; |
66 void NavigationStateChanged(content::WebContents* source, | 69 void NavigationStateChanged(content::WebContents* source, |
67 content::InvalidateTypes changed_flags) override; | 70 content::InvalidateTypes changed_flags) override; |
68 void LoadProgressChanged(content::WebContents* source, | 71 void LoadProgressChanged(content::WebContents* source, |
69 double progress) override; | 72 double progress) override; |
70 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; | 73 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; |
71 gfx::Rect GetRootWindowResizerRect() const override; | 74 gfx::Rect GetRootWindowResizerRect() const override; |
72 | 75 |
73 // content::NotificationObserver: | 76 // content::NotificationObserver: |
(...skipping 25 matching lines...) Expand all Loading... |
99 std::unique_ptr<views::Widget> widget_; | 102 std::unique_ptr<views::Widget> widget_; |
100 | 103 |
101 gfx::Size resizer_size_; | 104 gfx::Size resizer_size_; |
102 | 105 |
103 DISALLOW_COPY_AND_ASSIGN(ViewImpl); | 106 DISALLOW_COPY_AND_ASSIGN(ViewImpl); |
104 }; | 107 }; |
105 | 108 |
106 } // navigation | 109 } // navigation |
107 | 110 |
108 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ | 111 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ |
OLD | NEW |