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

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

Issue 190693002: Migrate Telemetry from beginWindowSnapshotPNG to Page.captureScreenshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Aligned with the existing API Created 6 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 | Annotate | Revision Log
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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 void OnThemeChanged(); 935 void OnThemeChanged();
936 void OnUpdateTargetURLAck(); 936 void OnUpdateTargetURLAck();
937 void OnUpdateTimezone(); 937 void OnUpdateTimezone();
938 void OnUpdateWebPreferences(const WebPreferences& prefs); 938 void OnUpdateWebPreferences(const WebPreferences& prefs);
939 void OnZoom(PageZoom zoom); 939 void OnZoom(PageZoom zoom);
940 void OnZoomFactor(PageZoom zoom, int zoom_center_x, int zoom_center_y); 940 void OnZoomFactor(PageZoom zoom, int zoom_center_x, int zoom_center_y);
941 void OnEnableViewSourceMode(); 941 void OnEnableViewSourceMode();
942 void OnDisownOpener(); 942 void OnDisownOpener();
943 void OnWindowSnapshotCompleted(const int snapshot_id, 943 void OnWindowSnapshotCompleted(const int snapshot_id,
944 const gfx::Size& size, const std::vector<unsigned char>& png); 944 const gfx::Size& size, const std::vector<unsigned char>& png);
945 void OnForceRedraw(int request_id);
945 #if defined(OS_ANDROID) 946 #if defined(OS_ANDROID)
946 void OnActivateNearestFindResult(int request_id, float x, float y); 947 void OnActivateNearestFindResult(int request_id, float x, float y);
947 void OnFindMatchRects(int current_version); 948 void OnFindMatchRects(int current_version);
948 void OnSelectPopupMenuItems(bool canceled, 949 void OnSelectPopupMenuItems(bool canceled,
949 const std::vector<int>& selected_indices); 950 const std::vector<int>& selected_indices);
950 void OnUndoScrollFocusedEditableNodeIntoRect(); 951 void OnUndoScrollFocusedEditableNodeIntoRect();
951 void OnUpdateTopControlsState(bool enable_hiding, 952 void OnUpdateTopControlsState(bool enable_hiding,
952 bool enable_showing, 953 bool enable_showing,
953 bool animate); 954 bool animate);
954 void OnPauseVideo(); 955 void OnPauseVideo();
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 // use the Observer interface to filter IPC messages and receive frame change 1438 // use the Observer interface to filter IPC messages and receive frame change
1438 // notifications. 1439 // notifications.
1439 // --------------------------------------------------------------------------- 1440 // ---------------------------------------------------------------------------
1440 1441
1441 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1442 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1442 }; 1443 };
1443 1444
1444 } // namespace content 1445 } // namespace content
1445 1446
1446 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1447 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698