공장 이야기
-
Modal Dialog 만들기...ㅎ공장 이야기 2017. 11. 30. 17:02
Chromium 를 보든 중... ㅎㅎㅎ 역쉬 깔끔... Chromium 의 모달 만들기... void HWNDMessageHandler::InitModalType(ui::ModalType modal_type) { if (modal_type == ui::MODAL_TYPE_NONE) return; // We implement modality by crawling up the hierarchy of windows starting // at the owner, disabling all of them so that they don't receive input // messages. HWND start = ::GetW..
-
Chromium 을 Windows에서 gn 빌드공장 이야기 2016. 6. 29. 21:09
현재 chrome를 빌드 하는 방법은 "GYP", "gn" 두 가지로 알고 있다. 나 머진 나도 잘.ㅋ ㅌㅌㅌ 일단 gn 만의 장점이 있으니 여기서 소개를...ㅎ gyp에서 gn 으로 가게된 이유는... 빌드 후 실행할 때 chrome가 dll을 너무 많이 물고 올라오는 문제가 있어서 일단 기준은 Visual Studio 2015 에... Windows 7 이상??? RAM 8메가 하드 30기가를 권장하고 있다. 구글이.ㅋ 맞냐??? 빌드해서 나온 결과는 x86, x64 다 지원... 0.문서 https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md http://dev.chromium.org/deve..
-
Linux에서 chromium 빌드 하기공장 이야기 2015. 12. 30. 14:33
우선 난 /에 즉 루트 폴더에 project 폴더를 만들고 시작... 모든 작업은 project 폴더를 기준으로 한다. Window만 사용한 난 무지 헤매였음... Ubuntu desktop-amd64를 설치하고 시작하였다. 참고 사이트 http://dev.chromium.org/developers/how-tos/get-the-code https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up depot_tools 받기 Terminal 열고 depot_tools 을 받을 장소에서 아래내요을 입력 git clone https://chromium...
-
Node.JS 설정 변경 시공장 이야기 2015. 8. 11. 14:54
- Node.JS Install 설치 경로 변경 ex)Z:\nodejs - 환경 설정 변경 npm config set cache z:\npm-cache npm config set tmp z:\npm-tmp - nodevars.bat 변경 rem set PATH=%APPDATA%\npm;%~dp0;%PATH% set PATH=z:\npm;%~dp0;%PATH% set TMP=z:\\npm-tmp set TEMP=z:\\npm-tmp - npm install npm install -g grunt-cli (필요 시 추가 cordova, plugman, plugman) npm install
-
webkit Visual Studio 빌드 시 오류.공장 이야기 2014. 6. 16. 09:56
webkit 소스의 초점은 Visual Studio가 아니다. 그래서 Visual Studio로 빌드 시 이상한 오류를 만나게 된다... 아래는 대표적인 오류 이다... String contextMenuItemTagLookUpInDictionary(const String& selectedString) { #if USE(CF) RetainPtr<CFStringRef> selectedCFString = truncatedStringForLookupMenuItem(selectedString).createCFString(); ret..
-
URL을 UTF8 방식으로 Encoding/Decoding 하기...공장 이야기 2014. 4. 23. 17:22
소스 나갑니다. ------------------------------------------------------------------------------------------------ .h class UTF8ForURL { public: UTF8ForURL(void); virtual ~UTF8ForURL(void); WCHAR* EncodeToUTF8(WCHAR* szSource); WCHAR* DecodeFromUTF8(WCHAR* szSource); }; BYTE makeByte(WCHAR ch1, WCHAR ch2); --------------------------------------------------------------------..
-
Webkit 해당 기능 ENABLE 시키기!!!공장 이야기 2013. 3. 20. 14:55
Webkit을 사용하다 보면 특정 기능 들을 ENABLE 해야 할 때가 있다. ENABLE_INPUT_TYPE_COLOR, ENABLE_INPUT_TYPE_DATE, ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, ENABLE_INPUT_TYPE_WEEK, ENABLE_INSPECTOR, ENABLE_UNDO_MANAGER, ENABLE_VIDEO 등등등... 많은 기능 들이 ENABLE 옵션이 꺼져 있다. 이를 때 ENABLE ON 하는..