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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 void OnDidFailLoadWithError(int64 frame_id, | 635 void OnDidFailLoadWithError(int64 frame_id, |
636 const GURL& validated_url, | 636 const GURL& validated_url, |
637 bool is_main_frame, | 637 bool is_main_frame, |
638 int error_code, | 638 int error_code, |
639 const string16& error_description); | 639 const string16& error_description); |
640 void OnUpdateContentRestrictions(int restrictions); | 640 void OnUpdateContentRestrictions(int restrictions); |
641 void OnGoToEntryAtOffset(int offset); | 641 void OnGoToEntryAtOffset(int offset); |
642 void OnUpdateZoomLimits(int minimum_percent, | 642 void OnUpdateZoomLimits(int minimum_percent, |
643 int maximum_percent, | 643 int maximum_percent, |
644 bool remember); | 644 bool remember); |
| 645 void OnFocusedNodeChanged(bool is_editable_node); |
645 void OnEnumerateDirectory(int request_id, const FilePath& path); | 646 void OnEnumerateDirectory(int request_id, const FilePath& path); |
646 void OnJSOutOfMemory(); | 647 void OnJSOutOfMemory(); |
647 void OnRegisterProtocolHandler(const std::string& protocol, | 648 void OnRegisterProtocolHandler(const std::string& protocol, |
648 const GURL& url, | 649 const GURL& url, |
649 const string16& title); | 650 const string16& title); |
650 void OnFindReply(int request_id, int number_of_matches, | 651 void OnFindReply(int request_id, int number_of_matches, |
651 const gfx::Rect& selection_rect, int active_match_ordinal, | 652 const gfx::Rect& selection_rect, int active_match_ordinal, |
652 bool final_update); | 653 bool final_update); |
653 void OnCrashedPlugin(const FilePath& plugin_path); | 654 void OnCrashedPlugin(const FilePath& plugin_path); |
654 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 655 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 // (full-page plugins for now only) permissions. | 884 // (full-page plugins for now only) permissions. |
884 int content_restrictions_; | 885 int content_restrictions_; |
885 | 886 |
886 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 887 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
887 content::ViewType view_type_; | 888 content::ViewType view_type_; |
888 | 889 |
889 DISALLOW_COPY_AND_ASSIGN(TabContents); | 890 DISALLOW_COPY_AND_ASSIGN(TabContents); |
890 }; | 891 }; |
891 | 892 |
892 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 893 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |