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

Side by Side Diff: components/web_view/frame_tree_delegate.h

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 5 #ifndef COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Invoked when the View embedded in a Frame premuturely stops rendering 78 // Invoked when the View embedded in a Frame premuturely stops rendering
79 // to |frame|'s View. This could mean any of the following: 79 // to |frame|'s View. This could mean any of the following:
80 // . The app crashed. 80 // . The app crashed.
81 // . There is no app that renders the url. 81 // . There is no app that renders the url.
82 // . The app is still alive, but is shutting down. 82 // . The app is still alive, but is shutting down.
83 // Frame does nothing in response to this, but the delegate may wish to take 83 // Frame does nothing in response to this, but the delegate may wish to take
84 // action. 84 // action.
85 virtual void OnViewEmbeddedInFrameDisconnected(Frame* frame); 85 virtual void OnViewEmbeddedInFrameDisconnected(Frame* frame);
86 86
87 // Reports the current find state back to our owner.
88 virtual void OnFindInFrameCountUpdated(int32_t request_id,
89 Frame* frame,
90 int32_t count,
91 bool final_update);
92 virtual void OnFindInPageSelectionUpdated(int32_t request_id,
93 Frame* frame,
94 int32_t active_match_ordinal);
95
87 protected: 96 protected:
88 virtual ~FrameTreeDelegate() {} 97 virtual ~FrameTreeDelegate() {}
89 }; 98 };
90 99
91 } // namespace web_view 100 } // namespace web_view
92 101
93 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 102 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698