history: Make QueryNodePhrase more readable.
history: Make QueryNodePhrase more readable.

- Group all the overridden methods.
- Add OVERRIDE to them.
- Move the implementation out of the class declaration.
- Fix the order to match with our style.
- Add DISALLOW_COPY_AND_ASSIGN.

BUG=68682
TEST=None

R=sky@chromium.org

Review URL: http://codereview.chromium.org/6904161

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@83719 0039d316-1c4b-4281-b951-d872f2087c98

pozdnyakov/chromium-crosswalk,littlstar/chromium.src,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,ltilve/chromium,ChromiumWebApps/chromium,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,jaruba/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,ondra-novak/chromium.src,PeterWangIntel/chromium-crosswalk,rogerwang/chromium,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,jaruba/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,keishi/chromium,fujunwei/chromium-crosswalk,Chilledheart/chromium,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,ltilve/chromium,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,anirudhSK/chromium,nacl-webkit/chrome_deps,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,bright-sparks/chromium-spacewalk,ltilve/chromium,krieger-od/nwjs_chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,robclark/chromium,Jonekee/chromium.src,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,rogerwang/chromium,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,rogerwang/chromium,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,ltilve/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,dednal/chromium.src,jaruba/chromium.src,littlstar/chromium.src,Just-D/chromium-1,Chilledheart/chromium,Just-D/chromium-1,M4sse/chromium.src,Just-D/chromium-1,zcbenz/cefode-chromium,axinging/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,robclark/chromium,rogerwang/chromium,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,keishi/chromium,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,hujiajie/pa-chromium,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dednal/chromium.src,anirudhSK/chromium,mogoweb/chromium-crosswalk,dushu1203/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,M4sse/chromium.src,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,anirudhSK/chromium,ltilve/chromium,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ltilve/chromium,axinging/chromium-crosswalk,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,anirudhSK/chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,jaruba/chromium.src,Just-D/chromium-1,keishi/chromium,fujunwei/chromium-crosswalk,littlstar/chromium.src,ChromiumWebApps/chromium,jaruba/chromium.src,littlstar/chromium.src,rogerwang/chromium,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,Chilledheart/chromium,keishi/chromium,patrickm/chromium.src,hgl888/chromium-crosswalk,Just-D/chromium-1,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,anirudhSK/chromium,dushu1203/chromium.src,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,markYoungH/chromium.src,ltilve/chromium,M4sse/chromium.src,M4sse/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,rogerwang/chromium,M4sse/chromium.src,ltilve/chromium,Jonekee/chromium.src,rogerwang/chromium,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,keishi/chromium,robclark/chromium,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,nacl-webkit/chrome_deps,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,markYoungH/chromium.src,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,dednal/chromium.src,keishi/chromium,dednal/chromium.src,markYoungH/chromium.src,robclark/chromium,jaruba/chromium.src,Chilledheart/chromium,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,dednal/chromium.src,zcbenz/cefode-chromium,littlstar/chromium.src,jaruba/chromium.src,keishi/chromium,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,Jonekee/chromium.src,robclark/chromium,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,markYoungH/chromium.src,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,patrickm/chromium.src,Just-D/chromium-1,dednal/chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,Chilledheart/chromium,robclark/chromium,Chilledheart/chromium,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,keishi/chromium,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,hujiajie/pa-chromium,hujiajie/pa-chromium,markYoungH/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,Just-D/chromium-1,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,littlstar/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,robclark/chromium,M4sse/chromium.src,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,ondra-novak/chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,robclark/chromium,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,dednal/chromium.src,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,keishi/chromium,ondra-novak/chromium.src,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,rogerwang/chromium,jaruba/chromium.src,robclark/chromium,Chilledheart/chromium,patrickm/chromium.src,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,keishi/chromium,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium