OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 // WebView overrides: | 35 // WebView overrides: |
36 bool GetNeedsNotificationWhenVisibleBoundsChange() const override; | 36 bool GetNeedsNotificationWhenVisibleBoundsChange() const override; |
37 void OnVisibleBoundsChanged() override; | 37 void OnVisibleBoundsChanged() override; |
38 void ViewHierarchyChanged( | 38 void ViewHierarchyChanged( |
39 const ViewHierarchyChangedDetails& details) override; | 39 const ViewHierarchyChangedDetails& details) override; |
40 void OnThemeChanged() override; | 40 void OnThemeChanged() override; |
41 void RenderViewReady() override; | 41 void RenderViewReady() override; |
42 | 42 |
43 // ui::LayerOwnerDelegate overrides: | 43 // ui::LayerOwnerDelegate overrides: |
44 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override; | 44 void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override; |
| 45 void OnLayerMirrored(ui::Layer* mirror) override; |
45 | 46 |
46 // WebContentsCloseHandlerDelegate overrides: | 47 // WebContentsCloseHandlerDelegate overrides: |
47 void CloneWebContentsLayer() override; | 48 void CloneWebContentsLayer() override; |
48 void DestroyClonedLayer() override; | 49 void DestroyClonedLayer() override; |
49 | 50 |
50 private: | 51 private: |
51 StatusBubbleViews* status_bubble_; | 52 StatusBubbleViews* status_bubble_; |
52 | 53 |
53 std::unique_ptr<ui::LayerTreeOwner> cloned_layer_tree_; | 54 std::unique_ptr<ui::LayerTreeOwner> cloned_layer_tree_; |
54 | 55 |
55 DISALLOW_COPY_AND_ASSIGN(ContentsWebView); | 56 DISALLOW_COPY_AND_ASSIGN(ContentsWebView); |
56 }; | 57 }; |
57 | 58 |
58 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_ |
OLD | NEW |