OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 const base::string16& message, | 379 const base::string16& message, |
380 const base::string16& default_prompt, | 380 const base::string16& default_prompt, |
381 const GURL& frame_url, | 381 const GURL& frame_url, |
382 JavaScriptMessageType type, | 382 JavaScriptMessageType type, |
383 IPC::Message* reply_msg) override; | 383 IPC::Message* reply_msg) override; |
384 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, | 384 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, |
385 const base::string16& message, | 385 const base::string16& message, |
386 bool is_reload, | 386 bool is_reload, |
387 IPC::Message* reply_msg) override; | 387 IPC::Message* reply_msg) override; |
388 void DidAccessInitialDocument() override; | 388 void DidAccessInitialDocument() override; |
| 389 void DidChangeName(RenderFrameHost* render_frame_host, |
| 390 const std::string& name) override; |
389 void DidDisownOpener(RenderFrameHost* render_frame_host) override; | 391 void DidDisownOpener(RenderFrameHost* render_frame_host) override; |
390 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override; | 392 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override; |
391 void UpdateTitle(RenderFrameHost* render_frame_host, | 393 void UpdateTitle(RenderFrameHost* render_frame_host, |
392 int32 page_id, | 394 int32 page_id, |
393 const base::string16& title, | 395 const base::string16& title, |
394 base::i18n::TextDirection title_direction) override; | 396 base::i18n::TextDirection title_direction) override; |
395 void UpdateEncoding(RenderFrameHost* render_frame_host, | 397 void UpdateEncoding(RenderFrameHost* render_frame_host, |
396 const std::string& encoding) override; | 398 const std::string& encoding) override; |
397 WebContents* GetAsWebContents() override; | 399 WebContents* GetAsWebContents() override; |
398 bool IsNeverVisible() override; | 400 bool IsNeverVisible() override; |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 // Adds/removes a callback called on creation of each new WebContents. | 1286 // Adds/removes a callback called on creation of each new WebContents. |
1285 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1286 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1287 | 1289 |
1288 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1289 }; | 1291 }; |
1290 | 1292 |
1291 } // namespace content | 1293 } // namespace content |
1292 | 1294 |
1293 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |