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

Issue 2896009: add find hookup (Closed)

Created:
10 years, 5 months ago by wjia(left Chromium)
Modified:
9 years, 7 months ago
Reviewers:
brettw, jam
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

add find hookup BUG=none TEST=compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52151

Patch Set 1 #

Total comments: 4

Patch Set 2 : merge with latest check-in, move find related functions into pepper_plugin_instance #

Total comments: 2

Patch Set 3 : some optimization #

Patch Set 4 : update DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -6 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.cc View 1 2 4 chunks +54 lines, -4 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.cc View 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
wjia(left Chromium)
This patch depends on patch http://codereview.chromium.org/2972004/show. There are some issues undecided: 1. query PPP_FIND_INTERFACE on ...
10 years, 5 months ago (2010-07-10 03:26:46 UTC) #1
wjia(left Chromium)
his patch depends on patch http://codereview.chromium.org/2972004/show. There are some issues undecided: 1. query PPP_FIND_INTERFACE on ...
10 years, 5 months ago (2010-07-10 03:27:36 UTC) #2
brettw
http://codereview.chromium.org/2896009/diff/1/2 File webkit/glue/plugins/pepper_find.cc (right): http://codereview.chromium.org/2896009/diff/1/2#newcode14 webkit/glue/plugins/pepper_find.cc:14: void NumberOfFindResultsChanged(PP_Instance instance_id, I think this code can just ...
10 years, 5 months ago (2010-07-12 05:06:32 UTC) #3
jam
http://codereview.chromium.org/2896009/diff/1/4 File webkit/glue/plugins/pepper_plugin_instance.cc (right): http://codereview.chromium.org/2896009/diff/1/4#newcode356 webkit/glue/plugins/pepper_plugin_instance.cc:356: bool PluginInstance::SupportsFind() { this function doesn't exist anymore, since ...
10 years, 5 months ago (2010-07-12 05:52:11 UTC) #4
wjia(left Chromium)
Now find related functions are in pepper_plugin_instance. Hopefully this file won't be swollen that much.
10 years, 5 months ago (2010-07-12 18:32:12 UTC) #5
brettw
10 years, 5 months ago (2010-07-12 19:49:44 UTC) #6
LGTM, just two suggestions to simplify things a bit.

http://codereview.chromium.org/2896009/diff/9001/10002
File webkit/glue/plugins/pepper_plugin_instance.h (right):

http://codereview.chromium.org/2896009/diff/9001/10002#newcode51
webkit/glue/plugins/pepper_plugin_instance.h:51: static const PPB_Find*
GetInterface();
I think we can just have this be in the Instance class so you don't need this
Find class at all.

http://codereview.chromium.org/2896009/diff/9001/10002#newcode154
webkit/glue/plugins/pepper_plugin_instance.h:154: const PPP_Find*
plugin_find_interface_;
You can just have this be a local in the anonymous namespace in the .cc file.

Powered by Google App Engine
This is Rietveld 408576698