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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 650180: Initial Geolocation location bar icons. (Closed)
Patch Set: Addresses Peter and Brett's comments. Created 10 years, 9 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 int error_code, 287 int error_code,
288 const GURL& url, 288 const GURL& url,
289 bool showing_repost_interstitial) = 0; 289 bool showing_repost_interstitial) = 0;
290 290
291 // Notification that a document has been loaded in a frame. 291 // Notification that a document has been loaded in a frame.
292 virtual void DocumentLoadedInFrame() = 0; 292 virtual void DocumentLoadedInFrame() = 0;
293 293
294 // Called when content in the current page was blocked due to the user's 294 // Called when content in the current page was blocked due to the user's
295 // content settings. 295 // content settings.
296 virtual void OnContentBlocked(ContentSettingsType type) = 0; 296 virtual void OnContentBlocked(ContentSettingsType type) = 0;
297
298 // Called when geolocation permission was set in a frame on the current
299 // page.
300 virtual void OnGeolocationPermissionSet(const std::string& host,
301 bool allowed) = 0;
297 }; 302 };
298 303
299 // Save ---------------------------------------------------------------------- 304 // Save ----------------------------------------------------------------------
300 // Interface for saving web pages. 305 // Interface for saving web pages.
301 306
302 class Save { 307 class Save {
303 public: 308 public:
304 // Notification that we get when we receive all savable links of 309 // Notification that we get when we receive all savable links of
305 // sub-resources for the current page, their referrers and list of frames 310 // sub-resources for the current page, their referrers and list of frames
306 // (include main frame and sub frames). 311 // (include main frame and sub frames).
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 virtual bool IsExternalTabContainer() const; 636 virtual bool IsExternalTabContainer() const;
632 637
633 // The RenderView has inserted one css file into page. 638 // The RenderView has inserted one css file into page.
634 virtual void DidInsertCSS() {} 639 virtual void DidInsertCSS() {}
635 640
636 // A different node in the page got focused. 641 // A different node in the page got focused.
637 virtual void FocusedNodeChanged() {} 642 virtual void FocusedNodeChanged() {}
638 }; 643 };
639 644
640 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 645 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698