Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 } 582 }
583 583
584 BlockedPopupContainer* blocked_popup_container() const { 584 BlockedPopupContainer* blocked_popup_container() const {
585 return blocked_popups_; 585 return blocked_popups_;
586 } 586 }
587 587
588 RendererPreferences* GetMutableRendererPrefs() { 588 RendererPreferences* GetMutableRendererPrefs() {
589 return &renderer_preferences_; 589 return &renderer_preferences_;
590 } 590 }
591 591
592 // CustomizeGeolocInfoBarDelegate
593 virtual void GeolocationProviderChosen(
594 WebCore::GeolocationPowerbox::ProviderId provider_id);
595
592 private: 596 private:
593 friend class NavigationController; 597 friend class NavigationController;
594 // Used to access the child_windows_ (ConstrainedWindowList) for testing 598 // Used to access the child_windows_ (ConstrainedWindowList) for testing
595 // automation purposes. 599 // automation purposes.
596 friend class AutomationProvider; 600 friend class AutomationProvider;
597 friend class BlockedPopupContainerTest; 601 friend class BlockedPopupContainerTest;
598 friend class BlockedPopupContainerControllerTest; 602 friend class BlockedPopupContainerControllerTest;
599 603
600 FRIEND_TEST(BlockedPopupContainerTest, TestReposition); 604 FRIEND_TEST(BlockedPopupContainerTest, TestReposition);
601 FRIEND_TEST(TabContentsTest, NoJSMessageOnInterstitials); 605 FRIEND_TEST(TabContentsTest, NoJSMessageOnInterstitials);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 virtual void ProcessDOMUIMessage(const std::string& message, 842 virtual void ProcessDOMUIMessage(const std::string& message,
839 const std::string& content, 843 const std::string& content,
840 int request_id, 844 int request_id,
841 bool has_callback); 845 bool has_callback);
842 virtual void ProcessExternalHostMessage(const std::string& message, 846 virtual void ProcessExternalHostMessage(const std::string& message,
843 const std::string& origin, 847 const std::string& origin,
844 const std::string& target); 848 const std::string& target);
845 virtual void RunFileChooser(bool multiple_files, 849 virtual void RunFileChooser(bool multiple_files,
846 const string16& title, 850 const string16& title,
847 const FilePath& default_file); 851 const FilePath& default_file);
852 virtual void ChooseGeolocationProvider(const GURL &url);
848 virtual void RunJavaScriptMessage(const std::wstring& message, 853 virtual void RunJavaScriptMessage(const std::wstring& message,
849 const std::wstring& default_prompt, 854 const std::wstring& default_prompt,
850 const GURL& frame_url, 855 const GURL& frame_url,
851 const int flags, 856 const int flags,
852 IPC::Message* reply_msg, 857 IPC::Message* reply_msg,
853 bool* did_suppress_message); 858 bool* did_suppress_message);
854 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 859 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
855 IPC::Message* reply_msg); 860 IPC::Message* reply_msg);
856 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 861 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
857 const std::string& json_arguments, 862 const std::string& json_arguments,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 // reset on navigations to false on navigations. 1108 // reset on navigations to false on navigations.
1104 bool suppress_javascript_messages_; 1109 bool suppress_javascript_messages_;
1105 1110
1106 // Shows an info-bar to users when they search from a known search engine and 1111 // Shows an info-bar to users when they search from a known search engine and
1107 // have never used the monibox for search before. 1112 // have never used the monibox for search before.
1108 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_; 1113 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_;
1109 1114
1110 // Settings that get passed to the renderer process. 1115 // Settings that get passed to the renderer process.
1111 RendererPreferences renderer_preferences_; 1116 RendererPreferences renderer_preferences_;
1112 1117
1118 GURL geolocation_url_;
1119
1113 // --------------------------------------------------------------------------- 1120 // ---------------------------------------------------------------------------
1114 1121
1115 DISALLOW_COPY_AND_ASSIGN(TabContents); 1122 DISALLOW_COPY_AND_ASSIGN(TabContents);
1116 }; 1123 };
1117 1124
1118 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1125 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/infobar_delegate.h ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698