| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 mojom::ViewClientPtr client, | 39 mojom::ViewClientPtr client, |
| 40 std::unique_ptr<service_manager::ServiceContextRef> ref); | 40 std::unique_ptr<service_manager::ServiceContextRef> ref); |
| 41 ~ViewImpl() override; | 41 ~ViewImpl() override; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 // mojom::View: | 44 // mojom::View: |
| 45 void NavigateTo(const GURL& url) override; | 45 void NavigateTo(const GURL& url) override; |
| 46 void GoBack() override; | 46 void GoBack() override; |
| 47 void GoForward() override; | 47 void GoForward() override; |
| 48 void NavigateToOffset(int offset) override; | 48 void NavigateToOffset(int offset) override; |
| 49 void Reload(bool skip_cache) override; | 49 void Reload(bool bypass_cache) override; |
| 50 void Stop() override; | 50 void Stop() override; |
| 51 void GetWindowTreeClient(ui::mojom::WindowTreeClientRequest request) override; | 51 void GetWindowTreeClient(ui::mojom::WindowTreeClientRequest request) override; |
| 52 void ShowInterstitial(const std::string& html) override; | 52 void ShowInterstitial(const std::string& html) override; |
| 53 void HideInterstitial() override; | 53 void HideInterstitial() override; |
| 54 | 54 |
| 55 // content::WebContentsDelegate: | 55 // content::WebContentsDelegate: |
| 56 void AddNewContents(content::WebContents* source, | 56 void AddNewContents(content::WebContents* source, |
| 57 content::WebContents* new_contents, | 57 content::WebContents* new_contents, |
| 58 WindowOpenDisposition disposition, | 58 WindowOpenDisposition disposition, |
| 59 const gfx::Rect& initial_rect, | 59 const gfx::Rect& initial_rect, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 content::NotificationRegistrar registrar_; | 101 content::NotificationRegistrar registrar_; |
| 102 | 102 |
| 103 std::unique_ptr<views::Widget> widget_; | 103 std::unique_ptr<views::Widget> widget_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(ViewImpl); | 105 DISALLOW_COPY_AND_ASSIGN(ViewImpl); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // navigation | 108 } // navigation |
| 109 | 109 |
| 110 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ | 110 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ |
| OLD | NEW |