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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2263043002: android_webview: Let AwContents manage TouchHandleDrawable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 int number_of_matches, 770 int number_of_matches,
771 const gfx::Rect& selection_rect, 771 const gfx::Rect& selection_rect,
772 int active_match_ordinal, 772 int active_match_ordinal,
773 bool final_update); 773 bool final_update);
774 774
775 // Modify the counter of connected devices for this WebContents. 775 // Modify the counter of connected devices for this WebContents.
776 void IncrementBluetoothConnectedDeviceCount(); 776 void IncrementBluetoothConnectedDeviceCount();
777 void DecrementBluetoothConnectedDeviceCount(); 777 void DecrementBluetoothConnectedDeviceCount();
778 778
779 #if defined(OS_ANDROID) 779 #if defined(OS_ANDROID)
780 void OnDidCreateTouchHandle(ui::TouchHandleDrawable* drawable);
781
780 // Called by FindRequestManager when all of the find match rects are in. 782 // Called by FindRequestManager when all of the find match rects are in.
781 void NotifyFindMatchRectsReply(int version, 783 void NotifyFindMatchRectsReply(int version,
782 const std::vector<gfx::RectF>& rects, 784 const std::vector<gfx::RectF>& rects,
783 const gfx::RectF& active_rect); 785 const gfx::RectF& active_rect);
784 #endif 786 #endif
785 787
786 private: 788 private:
787 friend class WebContentsObserver; 789 friend class WebContentsObserver;
788 friend class WebContents; // To implement factory methods. 790 friend class WebContents; // To implement factory methods.
789 791
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 // Adds/removes a callback called on creation of each new WebContents. 1449 // Adds/removes a callback called on creation of each new WebContents.
1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1450 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1451 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1450 1452
1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1453 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1452 }; 1454 };
1453 1455
1454 } // namespace content 1456 } // namespace content
1455 1457
1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1458 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698