| 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 30 matching lines...) Expand all  Loading... | 
| 41   ~ViewImpl() override; | 41   ~ViewImpl() override; | 
| 42 | 42 | 
| 43  private: | 43  private: | 
| 44   void DeleteTreeAndWidget(); | 44   void DeleteTreeAndWidget(); | 
| 45 | 45 | 
| 46   // mojom::View: | 46   // mojom::View: | 
| 47   void NavigateTo(const GURL& url) override; | 47   void NavigateTo(const GURL& url) override; | 
| 48   void GoBack() override; | 48   void GoBack() override; | 
| 49   void GoForward() override; | 49   void GoForward() override; | 
| 50   void NavigateToOffset(int offset) override; | 50   void NavigateToOffset(int offset) override; | 
| 51   void Reload(bool skip_cache) override; | 51   void Reload(bool bypass_cache) override; | 
| 52   void Stop() override; | 52   void Stop() override; | 
| 53   void GetWindowTreeClient(ui::mojom::WindowTreeClientRequest request) override; | 53   void GetWindowTreeClient(ui::mojom::WindowTreeClientRequest request) override; | 
| 54   void ShowInterstitial(const std::string& html) override; | 54   void ShowInterstitial(const std::string& html) override; | 
| 55   void HideInterstitial() override; | 55   void HideInterstitial() override; | 
| 56 | 56 | 
| 57   // content::WebContentsDelegate: | 57   // content::WebContentsDelegate: | 
| 58   void AddNewContents(content::WebContents* source, | 58   void AddNewContents(content::WebContents* source, | 
| 59                       content::WebContents* new_contents, | 59                       content::WebContents* new_contents, | 
| 60                       WindowOpenDisposition disposition, | 60                       WindowOpenDisposition disposition, | 
| 61                       const gfx::Rect& initial_rect, | 61                       const gfx::Rect& initial_rect, | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 107 | 107 | 
| 108   std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_; | 108   std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_; | 
| 109   std::unique_ptr<views::Widget> widget_; | 109   std::unique_ptr<views::Widget> widget_; | 
| 110 | 110 | 
| 111   DISALLOW_COPY_AND_ASSIGN(ViewImpl); | 111   DISALLOW_COPY_AND_ASSIGN(ViewImpl); | 
| 112 }; | 112 }; | 
| 113 | 113 | 
| 114 }  // navigation | 114 }  // navigation | 
| 115 | 115 | 
| 116 #endif  // SERVICES_NAVIGATION_VIEW_IMPL_H_ | 116 #endif  // SERVICES_NAVIGATION_VIEW_IMPL_H_ | 
| OLD | NEW | 
|---|