OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_FRAME_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_FRAME_H_ |
6 #define COMPONENTS_HTML_VIEWER_FRAME_H_ | 6 #define COMPONENTS_HTML_VIEWER_FRAME_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
126 void OnViewInputEvent(mojo::View* view, const mojo::EventPtr& event) override; | 126 void OnViewInputEvent(mojo::View* view, const mojo::EventPtr& event) override; |
127 void OnViewFocusChanged(mojo::View* gained_focus, | 127 void OnViewFocusChanged(mojo::View* gained_focus, |
128 mojo::View* lost_focus) override; | 128 mojo::View* lost_focus) override; |
129 | 129 |
130 // WebViewClient methods: | 130 // WebViewClient methods: |
131 virtual void initializeLayerTreeView() override; | 131 virtual void initializeLayerTreeView() override; |
132 virtual blink::WebLayerTreeView* layerTreeView() override; | 132 virtual blink::WebLayerTreeView* layerTreeView() override; |
133 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); | 133 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
134 | 134 |
135 // WebFrameClient methods: | 135 // WebFrameClient methods: |
136 virtual blink::WebMediaPlayer* createMediaPlayer( | 136 virtual blink::WebMediaPlayer* createMediaPlayer( |
Srirama
2015/07/10 15:29:30
I have checked the code and couldn't find the use
ddorwin
2015/07/10 17:56:56
I'm not sure what you mean. This is the WebFrameCl
Srirama
2015/07/10 18:36:02
I mean, when i changed this function prototype to
ddorwin
2015/07/10 18:47:43
That will only catch compile failures. Since WebFr
Srirama
2015/07/11 08:44:10
Done.
| |
137 blink::WebLocalFrame* frame, | 137 blink::WebLocalFrame* frame, |
138 const blink::WebURL& url, | 138 const blink::WebURL& url, |
139 blink::WebMediaPlayerClient* client, | 139 blink::WebMediaPlayerClient* client, |
140 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | |
140 blink::WebContentDecryptionModule* initial_cdm); | 141 blink::WebContentDecryptionModule* initial_cdm); |
141 virtual blink::WebFrame* createChildFrame( | 142 virtual blink::WebFrame* createChildFrame( |
142 blink::WebLocalFrame* parent, | 143 blink::WebLocalFrame* parent, |
143 blink::WebTreeScopeType scope, | 144 blink::WebTreeScopeType scope, |
144 const blink::WebString& frame_ame, | 145 const blink::WebString& frame_ame, |
145 blink::WebSandboxFlags sandbox_flags); | 146 blink::WebSandboxFlags sandbox_flags); |
146 virtual void frameDetached(blink::WebFrame* frame, | 147 virtual void frameDetached(blink::WebFrame* frame, |
147 blink::WebFrameClient::DetachType type); | 148 blink::WebFrameClient::DetachType type); |
148 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 149 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
149 virtual blink::WebNavigationPolicy decidePolicyForNavigation( | 150 virtual blink::WebNavigationPolicy decidePolicyForNavigation( |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 blink::WebTreeScopeType scope_; | 188 blink::WebTreeScopeType scope_; |
188 | 189 |
189 base::WeakPtrFactory<Frame> weak_factory_; | 190 base::WeakPtrFactory<Frame> weak_factory_; |
190 | 191 |
191 DISALLOW_COPY_AND_ASSIGN(Frame); | 192 DISALLOW_COPY_AND_ASSIGN(Frame); |
192 }; | 193 }; |
193 | 194 |
194 } // namespace html_viewer | 195 } // namespace html_viewer |
195 | 196 |
196 #endif // COMPONENTS_HTML_VIEWER_FRAME_H_ | 197 #endif // COMPONENTS_HTML_VIEWER_FRAME_H_ |
OLD | NEW |