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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1345873003: Expose PageImportanceSignals via WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing null check Created 5 years, 3 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
OLDNEW
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 virtual int historyBackListCount(); 394 virtual int historyBackListCount();
395 virtual int historyForwardListCount(); 395 virtual int historyForwardListCount();
396 virtual blink::WebSpeechRecognizer* speechRecognizer(); 396 virtual blink::WebSpeechRecognizer* speechRecognizer();
397 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 397 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
398 virtual void zoomLevelChanged(); 398 virtual void zoomLevelChanged();
399 virtual void pageScaleFactorChanged(); 399 virtual void pageScaleFactorChanged();
400 virtual double zoomLevelToZoomFactor(double zoom_level) const; 400 virtual double zoomLevelToZoomFactor(double zoom_level) const;
401 virtual double zoomFactorToZoomLevel(double factor) const; 401 virtual double zoomFactorToZoomLevel(double factor) const;
402 virtual blink::WebPageVisibilityState visibilityState() const; 402 virtual blink::WebPageVisibilityState visibilityState() const;
403 virtual void draggableRegionsChanged(); 403 virtual void draggableRegionsChanged();
404 virtual void pageImportanceSignalsChanged();
404 405
405 #if defined(OS_ANDROID) 406 #if defined(OS_ANDROID)
406 virtual void scheduleContentIntent(const blink::WebURL& intent); 407 virtual void scheduleContentIntent(const blink::WebURL& intent);
407 virtual void cancelScheduledContentIntents(); 408 virtual void cancelScheduledContentIntents();
408 virtual blink::WebContentDetectionResult detectContentAround( 409 virtual blink::WebContentDetectionResult detectContentAround(
409 const blink::WebHitTestResult& touch_hit); 410 const blink::WebHitTestResult& touch_hit);
410 411
411 // Only used on Android since all other platforms implement 412 // Only used on Android since all other platforms implement
412 // date and time input fields using MULTIPLE_FIELDS_UI 413 // date and time input fields using MULTIPLE_FIELDS_UI
413 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, 414 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&,
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // use the Observer interface to filter IPC messages and receive frame change 1024 // use the Observer interface to filter IPC messages and receive frame change
1024 // notifications. 1025 // notifications.
1025 // --------------------------------------------------------------------------- 1026 // ---------------------------------------------------------------------------
1026 1027
1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1028 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1028 }; 1029 };
1029 1030
1030 } // namespace content 1031 } // namespace content
1031 1032
1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1033 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698