Allow users to disable clippy the flash movie if they don't like it
I've found that although clippy is useful, it slows down the page
rendering as the Flash plugin has to initialize on the host page
every time we change the text we want to permit copying. It also
doesn't work on every operating where flash is supported.
Since CopyableLabel already supports some JavaScript based support
we can just give the user a preference to turn off the flash UI,
and fallback on the pure JavaScript based code.
Signed-off-by: Shawn O. Pearce <sop@google.com>
7 files changed