OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 bool remember); | 539 bool remember); |
540 void OnFocusedNodeChanged(bool is_editable_node); | 540 void OnFocusedNodeChanged(bool is_editable_node); |
541 void OnEnumerateDirectory(int request_id, const FilePath& path); | 541 void OnEnumerateDirectory(int request_id, const FilePath& path); |
542 void OnJSOutOfMemory(); | 542 void OnJSOutOfMemory(); |
543 void OnRegisterProtocolHandler(const std::string& protocol, | 543 void OnRegisterProtocolHandler(const std::string& protocol, |
544 const GURL& url, | 544 const GURL& url, |
545 const string16& title); | 545 const string16& title); |
546 void OnRegisterIntentHandler(const string16& action, | 546 void OnRegisterIntentHandler(const string16& action, |
547 const string16& type, | 547 const string16& type, |
548 const string16& href, | 548 const string16& href, |
549 const string16& title); | 549 const string16& title, |
| 550 const string16& disposition); |
550 void OnWebIntentDispatch(const IPC::Message& message, | 551 void OnWebIntentDispatch(const IPC::Message& message, |
551 const webkit_glue::WebIntentData& intent, | 552 const webkit_glue::WebIntentData& intent, |
552 int intent_id); | 553 int intent_id); |
553 void OnFindReply(int request_id, int number_of_matches, | 554 void OnFindReply(int request_id, int number_of_matches, |
554 const gfx::Rect& selection_rect, int active_match_ordinal, | 555 const gfx::Rect& selection_rect, int active_match_ordinal, |
555 bool final_update); | 556 bool final_update); |
556 void OnCrashedPlugin(const FilePath& plugin_path); | 557 void OnCrashedPlugin(const FilePath& plugin_path); |
557 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 558 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
558 | 559 |
559 // Changes the IsLoading state and notifies delegate as needed | 560 // Changes the IsLoading state and notifies delegate as needed |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 ObserverList<TabContentsObserver> observers_; | 861 ObserverList<TabContentsObserver> observers_; |
861 | 862 |
862 // Content restrictions, used to disable print/copy etc based on content's | 863 // Content restrictions, used to disable print/copy etc based on content's |
863 // (full-page plugins for now only) permissions. | 864 // (full-page plugins for now only) permissions. |
864 int content_restrictions_; | 865 int content_restrictions_; |
865 | 866 |
866 DISALLOW_COPY_AND_ASSIGN(TabContents); | 867 DISALLOW_COPY_AND_ASSIGN(TabContents); |
867 }; | 868 }; |
868 | 869 |
869 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 870 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |