Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/PluginClass.cpp

Issue 10783032: Pass browser locale to the JS code (Closed)
Patch Set: Fixed review comments Created June 4, 2013, 11:25 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/BuildVariant.h ('k') | src/plugin/PluginClassThread.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginClass.h" 3 #include "PluginClass.h"
4 #include "PluginDictionary.h" 4 #include "PluginDictionary.h"
5 #include "PluginSettings.h" 5 #include "PluginSettings.h"
6 #include "PluginSystem.h" 6 #include "PluginSystem.h"
7 #ifdef SUPPORT_FILTER 7 #ifdef SUPPORT_FILTER
8 #include "PluginFilter.h" 8 #include "PluginFilter.h"
9 #endif 9 #endif
10 #include "PluginMimeFilterClient.h" 10 #include "PluginMimeFilterClient.h"
(...skipping 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 offx += 22; 1902 offx += 22;
1903 } 1903 }
1904 #ifdef _DEBUG 1904 #ifdef _DEBUG
1905 // Display version 1905 // Display version
1906 HFONT hFont = (HFONT)::SendMessage(pClass->m_hStatusBarWnd, WM_GETFONT, 0, 0); 1906 HFONT hFont = (HFONT)::SendMessage(pClass->m_hStatusBarWnd, WM_GETFONT, 0, 0);
1907 HGDIOBJ hOldFont = ::SelectObject(hDC,hFont); 1907 HGDIOBJ hOldFont = ::SelectObject(hDC,hFont);
1908 1908
1909 CRect rcText = rcClient; 1909 CRect rcText = rcClient;
1910 rcText.left += offx; 1910 rcText.left += offx;
1911 ::SetBkMode(hDC, TRANSPARENT); 1911 ::SetBkMode(hDC, TRANSPARENT);
1912 ::DrawText(hDC, _T(IEPLUGIN_VERSION), -1, &rcText, DT_WORD_ELLIPSIS|DT_L EFT|DT_SINGLELINE|DT_VCENTER); 1912 ::DrawTextW(hDC, IEPLUGIN_VERSION, -1, &rcText, DT_WORD_ELLIPSIS|DT_LEFT |DT_SINGLELINE|DT_VCENTER);
1913 1913
1914 ::SelectObject(hDC, hOldFont); 1914 ::SelectObject(hDC, hOldFont);
1915 #endif // _DEBUG 1915 #endif // _DEBUG
1916 } 1916 }
1917 1917
1918 // Done! 1918 // Done!
1919 EndPaint(hWnd, &ps); 1919 EndPaint(hWnd, &ps);
1920 1920
1921 return 0; 1921 return 0;
1922 } 1922 }
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 } 2213 }
2214 } 2214 }
2215 } 2215 }
2216 2216
2217 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); 2217 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT);
2218 } 2218 }
2219 2219
2220 return hTabWnd; 2220 return hTabWnd;
2221 2221
2222 } 2222 }
OLDNEW
« no previous file with comments | « src/plugin/BuildVariant.h ('k') | src/plugin/PluginClassThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld